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

bug: adding an env var from a secretKeyRef causes Canary to never progress #780

Closed
vito-laurenza-zocdoc opened this issue Jan 15, 2021 · 3 comments · Fixed by #781
Closed

Comments

@vito-laurenza-zocdoc
Copy link
Contributor

PR which reproduces the issue in e2e tests: #779

Adding an env var to a Deployment with a secretKeyRef for the value causes flagger to get into an infinite loop restarting the analysis. E.g.:

{"level":"info","ts":"2021-01-15T19:56:22.219Z","caller":"controller/events.go:33","msg":"New revision detected! Restarting analysis for podinfo.test","canary":"podinfo.test"}
{"level":"info","ts":"2021-01-15T19:56:37.160Z","caller":"controller/events.go:33","msg":"New revision detected! Restarting analysis for podinfo.test","canary":"podinfo.test"}
{"level":"info","ts":"2021-01-15T19:56:52.161Z","caller":"controller/events.go:33","msg":"New revision detected! Restarting analysis for podinfo.test","canary":"podinfo.test"}
{"level":"info","ts":"2021-01-15T19:57:07.128Z","caller":"controller/events.go:33","msg":"New revision detected! Restarting analysis for podinfo.test","canary":"podinfo.test"}
{"level":"info","ts":"2021-01-15T19:57:22.129Z","caller":"controller/events.go:33","msg":"New revision detected! Restarting analysis for podinfo.test","canary":"podinfo.test"}
{"level":"info","ts":"2021-01-15T19:57:37.105Z","caller":"controller/events.go:33","msg":"New revision detected! Restarting analysis for podinfo.test","canary":"podinfo.test"}
{"level":"info","ts":"2021-01-15T19:57:52.107Z","caller":"controller/events.go:33","msg":"New revision detected! Restarting analysis for podinfo.test","canary":"podinfo.test"}
{"level":"info","ts":"2021-01-15T19:58:07.059Z","caller":"controller/events.go:33","msg":"New revision detected! Restarting analysis for podinfo.test","canary":"podinfo.test"}
{"level":"info","ts":"2021-01-15T19:58:22.058Z","caller":"controller/events.go:33","msg":"New revision detected! Restarting analysis for podinfo.test","canary":"podinfo.test"}
{"level":"info","ts":"2021-01-15T19:58:37.036Z","caller":"controller/events.go:33","msg":"New revision detected! Restarting analysis for podinfo.test","canary":"podinfo.test"}
@vorozhko
Copy link

Hi @kyanagimoto and @stefanprodan , this is still a blocker for us.
New 1.6.1 doesn't fix the described issue for us.
We install flagger using helm.

@stefanprodan
Copy link
Member

@vorozhko you need to update the CRDs, Helm doesn't do that.

@vorozhko
Copy link

Works after CRD update.
Thank you!

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 a pull request may close this issue.

3 participants