Skip to content
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

Remove default token from all service accounts #1048

Conversation

ncdc
Copy link
Contributor

@ncdc ncdc commented Nov 9, 2018

Instead of only removing the default token from a service account when
it already exists in the cluster, always remove it. If the service
account already exists, continue to do the merging logic.

Fixes #1047

Signed-off-by: Andy Goldstein andy.goldstein@gmail.com

@ncdc
Copy link
Contributor Author

ncdc commented Nov 14, 2018

Will fix the imports issue - 1 sec

@ncdc ncdc force-pushed the remove-default-token-from-all-service-accounts branch from b557ea1 to c8cf413 Compare November 14, 2018 15:43
@ncdc
Copy link
Contributor Author

ncdc commented Nov 14, 2018

Hopefully travis will be happy now!

@ncdc ncdc added this to the v0.10.1 milestone Nov 15, 2018
Copy link
Contributor

@carlisia carlisia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍

Copy link
Contributor

@skriss skriss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - @ncdc have you been able to manually test?

@ncdc
Copy link
Contributor Author

ncdc commented Dec 3, 2018

@skriss I don't remember if I tested this in minikube or not. I think I did but am not 100% sure.

@skriss
Copy link
Contributor

skriss commented Dec 4, 2018

@ncdc now that @wwitzel3's changelog PR has merged you'll need to add one for this PR.

Instead of only removing the default token from a service account when
it already exists in the cluster, always remove it. If the service
account already exists, continue to do the merging logic.

Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
@ncdc ncdc force-pushed the remove-default-token-from-all-service-accounts branch from c8cf413 to 62d8c64 Compare December 4, 2018 16:41
@ncdc
Copy link
Contributor Author

ncdc commented Dec 4, 2018

@skriss changelog updated. Tested just now on minikube.

@skriss skriss merged commit 555f73c into vmware-tanzu:master Dec 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants