Skip to content

Commit

Permalink
Provide an empty template so that parent charts can override to provi…
Browse files Browse the repository at this point in the history
…de pod annotations generated at deployment time. (#184)

Co-authored-by: dorid <Dave.Dority@pega.com>
  • Loading branch information
misterdorito and pegadave authored Sep 10, 2020
1 parent 6eb2160 commit 1b37b1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion charts/pega/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -213,4 +213,8 @@ true
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}

#Override this template to generate additional pod annotations that are dynamically composed during helm deployment (do not indent annotations)
{{- define "generatedPodAnnotations" }}
{{- end }}
1 change: 1 addition & 0 deletions charts/pega/templates/_pega-deployment.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ spec:
{{- end }}
config-check: {{ include (print .root.Template.BasePath "/pega-environment-config.yaml") .root | sha256sum }}
revision: "{{ .root.Release.Revision }}"
{{- include "generatedPodAnnotations" . | indent 8 }}
spec:
volumes:
Expand Down

0 comments on commit 1b37b1a

Please sign in to comment.