- Notifications
You must be signed in to change notification settings - Fork41.6k
kubeadm: add --allow-deprecated-api to 'config validate'#135148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
kubeadm: add --allow-deprecated-api to 'config validate'#135148
Conversation
The command can have this additional flag so that a warningis printed or not printed when a deprecated API is validated.Additionally, this commit fixes missing UpgradeConfigurationvalidation and strict errors. By default we call: documentMapToUpgradeConfiguration(gvkmap, false, false, false)so there is no change in behavior outside of'config migrate/validate'.
[APPROVALNOTIFIER] This PR isAPPROVED This pull-request has been approved by:neolit123 The full list of commands accepted by this bot can be foundhere. The pull request process is describedhere Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/triage accepted |
neolit123 commentedNov 5, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
context: |
/retest |
2 similar comments
/retest |
/retest |
k8s-ci-robot commentedNov 6, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@neolit123: The following testfailed, say
Full PR test history.Your PR dashboard. Please help us cut down on flakes bylinking to anopen issue when you hit one in your PR. Instructions for interacting with me using PR comments are availablehere. If you have questions or suggestions related to my behavior, please file an issue against thekubernetes-sigs/prow repository. I understand the commands that are listedhere. |
Do we expect to include this PR in the v1.35 cycle? |
in terms of the new flag, the slack conversation continued and i don't think this is critical for 1.35: the other fix here is an actual bug. without the upgradeconfig changes we cannot convert v1beta4 -> v1, which is a blocker for the v1 release, but that's not planned yet. so IMO, it's better to put this on hold until 1.36, unless folks think otherwise. |
What type of PR is this?
/kind bug feature
What this PR does / why we need it:
The command can have this additional flag so that a warning is printed or not printed when a deprecated API is validated.
Additionally, this commit fixes missing UpgradeConfiguration validation and strict errors. By default we call:
documentMapToUpgradeConfiguration(gvkmap, false, false, false)
so there is no change in behavior outside of
'config migrate/validate'.
Which issue(s) this PR is related to:
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: