-
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
Change the name of the secret that delivers federation kubeconfig. #28938
Change the name of the secret that delivers federation kubeconfig. #28938
Conversation
ae7f822
to
21699fb
Compare
How do users roll forward to this new setting, and roll back? (E.g., when moving between 1.3 and the eventual 1.4) |
@mml thanks for pointing that out. I think mentioning that in release note as action required is the best thing we can do at this point. I added a command to migrate the secret from one to the other. PTAL. |
As discussed in person, we'll let both names work for one release. |
@mml done. PTAL! |
// favor of the new name but giving people time to migrate. | ||
// TODO(madhusudancs): this name is deprecated in 1.4 and should be | ||
// removed in 1.5. Remove it in 1.5. | ||
DeprecatedKubeconfigSecretName = "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't think this should be empty string?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mml Missed that by accident, sorry about that. PTAL now.
0022b0e
to
4f93870
Compare
LGTM. Add label after you squash, @madhusudancs |
The current name, federation-apiserver-secret, is very similar to the other secret we have, federation-apiserver-secrets, that delivers somewhat similar data but in a different format. This is extremely confusing, particularly while debugging. This change should soothe the pain.
4f93870
to
3ac2ab3
Compare
Squashed. Adding the label. |
GCE e2e build/test passed for commit 3ac2ab3. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e build/test passed for commit 3ac2ab3. |
Automatic merge from submit-queue |
The current name, federation-apiserver-secret, is very similar to the
other secret we have, federation-apiserver-secrets, that delivers
somewhat similar data but in a different format. This is extremely
confusing, particularly while debugging.
This change should soothe the pain.
cc @kubernetes/sig-cluster-federation
This change is