From 52308c3cba3fe2e3e5ba725d97ba38978f8e3b65 Mon Sep 17 00:00:00 2001 From: Jacob LeGrone Date: Mon, 16 Jul 2018 17:03:19 -0400 Subject: [PATCH] Roll deployment when secret contents updated --- charts/virtual-kubelet/templates/deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/virtual-kubelet/templates/deployment.yaml b/charts/virtual-kubelet/templates/deployment.yaml index 4a7d15d2f..8bbdd304f 100644 --- a/charts/virtual-kubelet/templates/deployment.yaml +++ b/charts/virtual-kubelet/templates/deployment.yaml @@ -10,6 +10,8 @@ spec: metadata: labels: app: {{ template "vk.fullname" . }} + annotations: + checksum/secret: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }} spec: containers: - name: {{ template "vk.fullname" . }}