From 3a1c8a1bf31db543d79aab1932111ef4488c01f0 Mon Sep 17 00:00:00 2001 From: Joschka Thurner Date: Fri, 18 Feb 2022 17:32:29 +0100 Subject: [PATCH] chart: roll deployment on config change --- chart/docker-auth/templates/deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chart/docker-auth/templates/deployment.yaml b/chart/docker-auth/templates/deployment.yaml index 1885179e..83cb946d 100755 --- a/chart/docker-auth/templates/deployment.yaml +++ b/chart/docker-auth/templates/deployment.yaml @@ -18,6 +18,8 @@ spec: labels: app.kubernetes.io/name: {{ include "docker-auth.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} + annotations: + checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} spec: containers: - name: {{ .Chart.Name }}