Skip to content

Commit

Permalink
add checksum annotation for exporter (#1270)
Browse files Browse the repository at this point in the history
Signed-off-by: Philipp Born <git@pborn.eu>
Co-authored-by: Vadim Bauer <vb@container-registry.com>
  • Loading branch information
tamcore and Vad1mo committed Feb 14, 2024
1 parent 53ce4a2 commit 54979d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/exporter/exporter-dpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ spec:
{{ toYaml .Values.exporter.podLabels | indent 8 }}
{{- end }}
annotations:
checksum/configmap: {{ include (print $.Template.BasePath "/exporter/exporter-cm-env.yaml") . | sha256sum }}
checksum/secret: {{ include (print $.Template.BasePath "/exporter/exporter-secret.yaml") . | sha256sum }}
{{- if and .Values.internalTLS.enabled (eq .Values.internalTLS.certSource "auto") }}
checksum/tls: {{ include (print $.Template.BasePath "/internal/auto-tls.yaml") . | sha256sum }}
{{- else if and .Values.internalTLS.enabled (eq .Values.internalTLS.certSource "manual") }}
Expand Down

0 comments on commit 54979d8

Please sign in to comment.