From 54979d8070ed8addc8fc43001aeb840588e31f7e Mon Sep 17 00:00:00 2001 From: Philipp B Date: Wed, 14 Feb 2024 22:00:16 +0100 Subject: [PATCH] add checksum annotation for exporter (#1270) Signed-off-by: Philipp Born Co-authored-by: Vadim Bauer --- templates/exporter/exporter-dpl.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/exporter/exporter-dpl.yaml b/templates/exporter/exporter-dpl.yaml index 2b6de68cd..2f23a270d 100644 --- a/templates/exporter/exporter-dpl.yaml +++ b/templates/exporter/exporter-dpl.yaml @@ -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") }}