-
Notifications
You must be signed in to change notification settings - Fork 83
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 duplicate annotation in nats statefulset #2176
Conversation
combined config from two metadata.annotations
metadata: | ||
{{- if or .Values.podAnnotations .Values.exporter.enabled }} | ||
annotations: | ||
checksum/nats-config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} | ||
{{- if and .Values.global.nats.jetStream.enabled .Values.global.nats.jetStream.tls }} | ||
checksum/nats-tls: {{ include (print $.Template.BasePath "/nats-jetstream-tls-secret.yaml") . | sha256sum }} | ||
{{- end }} |
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.
@danielhoherd this is a new change on top of sudharsan change
Tests are failing |
Let me re-run them , adding basic test case for annotation validation |
Can we explicitly test the upgrade path here I am expecting it to result in failures and that variable being completely unset for a period of time between the two due to helm issue 10741. What would the impact to the platform be during that time? |
i dont think this will cause an issue for the customers |
* Update statefulset.yaml combined config from two metadata.annotations * update nats statefulset annotation work * add basic annotation tests * add key assertion * fix pre-commit * fix test failures --------- Co-authored-by: pgvishnuram <vishnu@astronomer.io> Co-authored-by: Rishabh Karajgi <rishabh.karajgi@gmail.com>
combined config from two metadata.annotations
Description
There are two annotation sections in the NATS statefulsets,
Related Issues
fixes: https://github.com/astronomer/issues/issues/6284
Testing
Do not merge this PR until this text is replaced with details about how these changes were tested.
Merging
Do not merge this PR until it lists which release branches this PR should be merged / cherry-picked into.