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

Do rollout commands using the service account #25

Open
vkurup opened this issue Jul 2, 2020 · 1 comment
Open

Do rollout commands using the service account #25

vkurup opened this issue Jul 2, 2020 · 1 comment

Comments

@vkurup
Copy link
Contributor

vkurup commented Jul 2, 2020

The rollout commands currently do not use the service account's API key, so that means they are run using the credentials of the user running the deploy. This means that they will not work on CI, where the user has limited access.

We should see if there is a way to run kubectl with service account creds, either with the ansible k8s role or the ansible kubectl role

@copelco
Copy link
Member

copelco commented Jan 20, 2021

To add to this, rollout is useful when just the linked ConfigMap changes, such as with a new environment variable, but not the image tag. This can be confusing when a deployment is run to update an environment variable and it appears that the deploy didn't work since the pods are still using a copy of the old secrets.

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

No branches or pull requests

2 participants