From c3331556f394e06edd9c61bc667684f839504f9b Mon Sep 17 00:00:00 2001 From: minottic Date: Wed, 2 Oct 2024 13:42:17 +0200 Subject: [PATCH] Evaluate secrets from values for checksum --- helm/charts/generic_service/templates/deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/charts/generic_service/templates/deployment.yaml b/helm/charts/generic_service/templates/deployment.yaml index ed221e5..e652653 100644 --- a/helm/charts/generic_service/templates/deployment.yaml +++ b/helm/charts/generic_service/templates/deployment.yaml @@ -12,8 +12,8 @@ spec: template: metadata: annotations: - checksum/config: {{ .Values.configMaps | toJson | sha256sum }} - checksum/secrets: {{ .Values.secrets | toJson | sha256sum }} + checksum/config: {{ tpl (.Values.configMaps | toJson) . | sha256sum }} + checksum/secrets: {{ tpl (.Values.secrets | toJson) . | sha256sum }} labels: {{- include "helm_chart.selectorLabels" . | nindent 8 }} spec: