-
Notifications
You must be signed in to change notification settings - Fork 40k
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
kube-up: ensure tokens file is correct on upgrades/downgrades #43676
kube-up: ensure tokens file is correct on upgrades/downgrades #43676
Conversation
c48397c
to
2d614e3
Compare
@euank @yifan-gu @ethernetdan PTAL at the coreos change @cjcullen @mikedanese PTAL at the gci change |
change LGTM, as long as this is a kosher way to fix downgrades... |
Changes lgtm, but @ethernetdan said he has problems verifying the PR on coreos. Will be investigating. |
/approve |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: liggitt, mikedanese, mwielgus
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
Automatic merge from submit-queue |
Commit found in the "release-1.5" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked. |
successfully upgraded v1.5.5 -> ci/latest-1.6 -> ci/latest-1.5 and ensured kube-proxy and kube-dns were functioning correctly after upgrade and downgrade, and tokens file contained correct control plane users after each step |
Fixes #43668
1.5 hard-codes authorization rules, but if the
known_tokens.csv
file already exists, it does not ensure it works with those authorization rules.This issue was fixed in 1.6 for the gce and coreos providers. This PR picks those fixes for the control plane elements from these commits: