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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automated cherry pick of #48915 #48946
Automated cherry pick of #48915 #48946
Conversation
This code was changed in ea19649 to validate that `--config` wasn't passed along with other flags. Unfortunately, the implementation was checking `PersistentFlags()`, which was not parsed at the point it was being validated. The result was that `--config` was _always_ rejected, not just when it was specified alongside other flags. The fix is to use `Flags()` instead, which contains the expected data.
Hi @mattmoyer. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: luxas, mattmoyer Associated issue: 48915 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
approve - just please don't remove "do-not-merge" label for now. |
OK - this is good to go. Removing do-not-merge label. |
@kubernetes/test-infra-maintainers @fejta - those failures seem like infrastructure failures - can you please take a look? |
@spxtr ^^ |
/assign @fejta |
|
This makes me think there is a gsutil bug: |
It seems that those tests are passing on other PRs in 1.7 branch. I will try retesting. /retest |
Automatic merge from submit-queue |
Cherry pick of #48915 on release-1.7.
#48915: kubeadm: fix broken
kubeadm init --config
flag.