You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR #43558 introduced a validation check avoiding usage of ---config (to provide a configuration) mixed with other CLI flags for kubeadm init and kubeadm join commands.
The same implementation should be done also for any other kubeadm commands/sub-commands with ---config flag.
NB. I'm already doing this for some kubeadm alpha phases I'm working on; this issue is a reminder to check ValidateMixedArguments in the remaining parts
The text was updated successfully, but these errors were encountered:
…leanups
Automatic merge from submit-queue (batch tested with PRs 50692, 50727)
kubeadm: Small cleanups from the phases refactoring
**What this PR does / why we need it**:
Small cleanups on kubeadm phases
**Which issue this PR fixes**:
fixes pending comments in [#49419](#49419)
fixes [#376](kubernetes/kubeadm#376)
**Special notes for your reviewer**:
cc @luxas
Yes!
As of today MixedArguments can happen in following cases; between parenthesis you can find the PR that implemented the MixedArguments check/and or explanation of exception:
init (#43558)
join (#43558)
alpha phase certs (#50691)
alpha phase controlplane (#50302)
alpha phase etcd (#50302)
alpha phase kubeconfig (#50692)
alpha phase upload-config(mixed arguments should be allowed by design).
Nb. There is in flight a PR that will introduce MixedArguments condition in alpha phase self-hosting, but the PR will implement MixedArguments check as well.
PR #43558 introduced a validation check avoiding usage of
---config
(to provide a configuration) mixed with other CLI flags forkubeadm init
andkubeadm join
commands.The same implementation should be done also for any other kubeadm commands/sub-commands with
---config
flag.NB. I'm already doing this for some
kubeadm alpha phase
s I'm working on; this issue is a reminder to check ValidateMixedArguments in the remaining partsThe text was updated successfully, but these errors were encountered: