From a4944420abc430ece6e22f641e843fb70321417f Mon Sep 17 00:00:00 2001 From: "pvigo@collabora.com" Date: Thu, 12 Oct 2023 09:30:51 +0200 Subject: [PATCH] Ensure Pod Restarts upon Object Update. Ensure Pod restarts automatically whenever Secret object is updated. A hash of the object is now included in Deployment. Signed-off-by: pvigo@collabora.com --- chart/templates/deployment.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml index f83653b..7755845 100644 --- a/chart/templates/deployment.yaml +++ b/chart/templates/deployment.yaml @@ -15,6 +15,7 @@ spec: metadata: {{- with .Values.podAnnotations }} annotations: + checksum/secret: {{ include (print $.Template.BasePath "/gitlab-token-secret.yaml") . | sha256sum }} {{- toYaml . | nindent 8 }} {{- end }} labels: