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 }}