From 9fb275f15c6d4cd74021792360942aa3c6b0c055 Mon Sep 17 00:00:00 2001 From: Jacques ROUSSEL Date: Wed, 17 Jul 2024 09:48:14 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7(helm)=20fix=20helm=20chart?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add md5sum on secret in order to automatically deploy new pods when secret change --- src/helm/meet/templates/backend_deployment.yaml | 1 + src/helm/{extra => meet}/templates/secrets.yaml | 0 2 files changed, 1 insertion(+) rename src/helm/{extra => meet}/templates/secrets.yaml (100%) diff --git a/src/helm/meet/templates/backend_deployment.yaml b/src/helm/meet/templates/backend_deployment.yaml index 7990e834..fda7ef41 100644 --- a/src/helm/meet/templates/backend_deployment.yaml +++ b/src/helm/meet/templates/backend_deployment.yaml @@ -19,6 +19,7 @@ spec: {{- with .Values.backend.podAnnotations }} {{- toYaml . | nindent 8 }} {{- end }} + checksum/config: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }} labels: {{- include "meet.common.selectorLabels" (list . $component) | nindent 8 }} spec: diff --git a/src/helm/extra/templates/secrets.yaml b/src/helm/meet/templates/secrets.yaml similarity index 100% rename from src/helm/extra/templates/secrets.yaml rename to src/helm/meet/templates/secrets.yaml