# Functions
CreateServiceAccount creates the necessary serviceaccounts that kubeadm uses/might use, if they don't already exist.
DeployedDNSAddon returns the type of DNS addon currently deployed.
EnsureDNSAddon creates the kube-dns or CoreDNS addon.
GetCoreDNSManifest returns the right CoreDNS YAML manifest for a specific k8s version.
GetDNSVersion returns the right kube-dns version for a specific k8s version.
GetKubeDNSManifest returns the right kube-dns YAML manifest for a specific k8s version.
# Constants
CoreDNSClusterRole is the CoreDNS ClusterRole manifest.
CoreDNSClusterRoleBinding is the CoreDNS Clusterrolebinding manifest.
CoreDNSConfigMap is the CoreDNS ConfigMap manifest.
CoreDNSDeployment is the CoreDNS Deployment manifest.
CoreDNSServiceAccount is the CoreDNS ServiceAccount manifest.
KubeDNSService is the kube-dns Service manifest.
KubeDNSServiceAccountName describes the name of the ServiceAccount for the kube-dns addon.