kubernetes/cmd/kubeadm
Rostislav M. Georgiev b881f19c8b kubeadm: Group centric component configs
kubeadm's current implementation of component config support is "kind" centric.
This has its downsides. Namely:
- Kind names and numbers can change between config versions.
  Newer kinds can be ignored. Therefore, detection of a version change is
  considerably harder.
- A component config can have only one kind that is managed by kubeadm.
Thus a more appropriate way to identify component configs is required.

Probably the best solution identified so far is a config group.
A group name is unlikely to change between versions, while the kind names and
structure can.
Tracking component configs by group name allows us to:
- Spot more easily config version changes and manage alternate versions.
- Support more than one kind in a config group/version.
- Abstract component configs by hiding their exact structure.

Hence, this change rips off the old kind based support for component configs
and replaces it with a group name based one. This also has the following
extra benefits:
- More tests were added.
- kubeadm now errors out if an unsupported version of a known component group
  is used.

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2019-11-26 13:55:28 +02:00
..
app kubeadm: Group centric component configs 2019-11-26 13:55:28 +02:00
test kubeadm: Group centric component configs 2019-11-26 13:55:28 +02:00
.import-restrictions guard kubeadm dependencies on k8s.io/kubernetes 2019-11-13 15:05:11 -05:00
BUILD remove pkg/version and some of redundant copies of it 2019-09-16 16:24:35 -07:00
kubeadm.go kubeadm: print the stack trace of an error for klog level v>=5 2019-08-22 20:09:54 +03:00
OWNERS kubeadm: update OWNERS for 1.16 2019-09-25 18:07:38 +03:00