From 81edf4bdac9a690c6b127289a94f3c46185f0edd Mon Sep 17 00:00:00 2001 From: ducoterra Date: Wed, 16 Dec 2020 11:19:18 -0500 Subject: [PATCH] annotation needs to be in the template metadata --- helm/templates/deploy.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/templates/deploy.yaml b/helm/templates/deploy.yaml index a8493df..4c8109f 100644 --- a/helm/templates/deploy.yaml +++ b/helm/templates/deploy.yaml @@ -2,8 +2,6 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ .Release.Name }} - annotations: - checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} spec: selector: matchLabels: @@ -12,6 +10,8 @@ spec: metadata: labels: app: {{ .Release.Name }} + annotations: + checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} spec: containers: - name: {{ .Release.Name }}