k3s/cmd/kubeadm/test
Rostislav M. Georgiev 5671ea9cf1 kubeadm: Remove ClusterConfiguration from InitConfiguration in v1beta2
Ever since v1alpha3, InitConfiguration is containing ClusterConfiguration
embedded in it. This was done to mimic the internal InitConfiguration, which in
turn is used throughout the kubeadm code base as if it is the old
MasterConfiguration of v1alpha2.

This, however, is confusing to users who vendor in kubeadm as the embedded
ClusterConfiguration inside InitConfiguration is not marshalled to YAML.
For this to happen, special care must be taken for the ClusterConfiguration
field to marshalled separately.

Thus, to make things smooth for users and to reduce third party exposure to
technical debt, this change removes ClusterConfiguration embedding from
InitConfiguration.

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2019-05-29 12:13:37 +03:00
..
cmd kubeadm: Introduce v1beta2 config 2019-04-25 17:10:04 +03:00
kubeconfig move test utilites out of /test 2018-12-04 19:27:17 +08:00
BUILD kubeadm: Introduce v1beta2 config 2019-04-25 17:10:04 +03:00
util.go kubeadm: Remove ClusterConfiguration from InitConfiguration in v1beta2 2019-05-29 12:13:37 +03:00