kubernetes/cmd/kubeadm/app/phases/upgrade
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
..
BUILD Pin dependencies and update vendors 2019-10-24 14:09:24 -07:00
compute_test.go make test pass 2019-10-02 12:10:58 +02:00
compute.go Update DNSType comments on compute.go 2019-04-10 11:43:18 -04:00
health.go kubeadm cleanup: master -> control-plane (cont.4) 2019-02-25 08:29:19 +07:00
policy_test.go Correct func name WithBuildMetadata 2019-08-26 21:10:56 -07:00
policy.go fix upgrade checks 2019-08-23 15:12:29 +02:00
postupgrade_test.go fix-upgrade-certs-renew 2019-04-27 09:58:17 +02:00
postupgrade.go kubeadm: Group centric component configs 2019-11-26 13:55:28 +02:00
preflight.go skip deployment update if migration fails 2019-11-06 10:55:54 -05:00
prepull_test.go replace repeated values with a constant 2019-04-04 12:42:26 +08:00
prepull.go do not return error, when the ds is not found 2019-08-01 09:12:14 +08:00
staticpods_test.go cmd/kubeadm/app: fix staticcheck warning 2019-11-01 10:39:56 +08:00
staticpods.go cmd/kubeadm/app: fix staticcheck warning 2019-11-01 10:39:56 +08:00
versiongetter.go remove pkg/version and some of redundant copies of it 2019-09-16 16:24:35 -07:00