Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
kubeadm: Don't load deprecated configs #74025
What type of PR is this?
What this PR does / why we need it:
Currently kubeadm supports a couple of configuration versions - v1alpha3 and v1beta1. The former is deprecated, but still supported.
To discourage users from using it and to speedup conversion to newer versions, we disable the loading of deprecated configurations by all kubeadm sub-commands, but "kubeadm config migrate".
v1alpha3 is still present and supported at source level, but cannot be used directly with kubeadm and some of its internal APIs.
The added benefit to this is, that users won't need to lookup for an old kubeadm binary after upgrade, just because they were stuck with a deprecated config version for too long.
To achieve this, the following was done:
Which issue(s) this PR fixes:
Special notes for your reviewer:
Depends on #74024 . Please, review only the last commit here.
Does this PR introduce a user-facing change?:
[APPROVALNOTIFIER] This PR is APPROVED
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing