-
Notifications
You must be signed in to change notification settings - Fork 988
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
ignore_annotations change between 2.24.0 & 2.25.1 #2390
Comments
Hi @quotidian-ennui, Thank you for reporting this issue. I think we need to tune the logic of flatteners a bit more to cover the use case you just reported. If my reproduction of this issue is valid, then
Could you please confirm the first statement? In the meantime, I will work on this issue. Thanks! |
@arybolovlev yes, 2.24.0 works fine for my use-case, and I've pinned it locally to that version. (I haven't noticed side-effects on my side, but you're closer to the code than I am). |
Similar issue with |
👍 for that top tip, I reported it since it's a breaking change in the sense that 2.24.0 is fine (with the Even so adding this to every deployment managed by terraform doesn't fill me with joy...
|
Terraform version, Kubernetes provider version and Kubernetes version
Terraform configuration
Question
#2345 tells me that
ignore_annotations
on the provider is not respected when gathering the annotations from templates and datasources.This isn't going to play nicely with something like stakater/reloader since this will (depending on configuration) add an annotation to the deployment
reloader.stakater.com/last-reloaded-from
that marks the 'change' that triggered a redeploy.If a config-map changes, and reloader does its thing; then we have the annotation applied. The next time terraform runs, it wants to remove the annotation (which causes a redeployment even though nothing concrete has changed).
What then is the correct way for us ignore annotations that might be added by server-side components that
don't end in kubernetes.io
because this possible in 2.24.0.The text was updated successfully, but these errors were encountered: