package
0.0.0-20191202013547-ff55af68d380
Repository: https://github.com/gosoon/kubernetes-operator.git
Documentation: pkg.go.dev

# Functions

Config returns a kubeadm config generated from config data, in particular the kubernetes version.

# Constants

APIServerPort is the expected default APIServerPort on the control plane node(s) https://kubernetes.io/docs/reference/access-authn-authz/controlling-access/#api-server-ports-and-ips.
ConfigTemplateAlphaV2 is the kubadm config template for v1alpha2 NOTE: this is the v1.11 version of this API, breaking changes occurred in v1.12 vs v1.11, but v1.12 also has v1alpha3 which we use instead see: https://github.com/kubernetes/kubernetes/tree/release-1.11/cmd/kubeadm/app/apis/kubeadm/v1alpha2.
ConfigTemplateAlphaV3 is the kubadm config template for API version v1alpha3.
ConfigTemplateBetaV1 is the kubadm config template for API version v1beta1.
ConfigTemplateBetaV2 is the kubadm config template for API version v1beta2.
ObjectName is the name every generated object will have I.E.
Token defines a dummy, well known token for automating TLS bootstrap process.

# Structs

ConfigData is supplied to the kubeadm config template, with values populated by the cluster package.