-
Notifications
You must be signed in to change notification settings - Fork 304
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
HPCC-30711 Add global annotations #17975
HPCC-30711 Add global annotations #17975
Conversation
https://track.hpccsystems.com/browse/HPCC-30711 |
@ghalliday - please review. |
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.
See comments on other PR
@ghalliday - kube-score was failing (in #17976) on an unquoted 'false' annotation value - have changed (in 3rd commit) to quote all annotation values. |
@ghalliday - please see 2nd and 3rd commits. |
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.
Change looks ok.
@@ -53,6 +53,7 @@ spec: | |||
helmVersion: 9.2.33-closedown0 | |||
annotations: | |||
checksum/config: {{ $configSHA }} | |||
{{- include "hpcc.generateAnnotations" $commonCtx | indent 8 }} |
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.
It is a bit strange using indent (rather than nindent) in an indented block. It works if the block leads with a newline, but would cause problems if not.
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.
using nindent would result in a newline here in cases where there was no content generated
@jakesmith please squash |
Add a global 'componentAnnotations' section, which can be used to define annotations that should apply to all components. Signed-off-by: Jake Smith <jake.smith@lexisnexisrisk.com>
ace2d8a
to
e7d956f
Compare
@ghalliday - squashed |
Add a global 'componentAnnotations' section, which can be used to define annotations that should apply to all components.
Type of change:
Checklist:
Smoketest:
Testing: