clusterdns

package
v1.30.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const CoreDNSTemplateVersion = "3"

CoreDNSTemplateVersion is the version of CoreDNS template

Variables

This section is empty.

Functions

func ConfigMap

func ConfigMap(domain string, dnsServers []string) *corev1.ConfigMap

ConfigMap returns ConfigMap for CoreDNS

func CreateConfigMapOp

func CreateConfigMapOp(apiserver *cke.Node, domain string, dnsServers []string) cke.Operator

CreateConfigMapOp returns an Operator to create ConfigMap for CoreDNS.

func UpdateConfigMapOp

func UpdateConfigMapOp(apiserver *cke.Node, configmap *corev1.ConfigMap) cke.Operator

UpdateConfigMapOp returns an Operator to update ConfigMap for CoreDNS.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL