diff --git a/charts/service-deployment/Chart.yaml b/charts/service-deployment/Chart.yaml index 769050a..bea854f 100644 --- a/charts/service-deployment/Chart.yaml +++ b/charts/service-deployment/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: service-deployment description: A Helm Chart to setup a generic deployment with optional service/hpa bindings -version: 0.16.0 +version: 0.16.1 icon: https://raw.githubusercontent.com/snowplow-devops/helm-charts/master/docs/logo/snowplow.png home: https://github.com/snowplow-devops/helm-charts sources: diff --git a/charts/service-deployment/templates/deployment.yaml b/charts/service-deployment/templates/deployment.yaml index d69da6b..066e45d 100644 --- a/charts/service-deployment/templates/deployment.yaml +++ b/charts/service-deployment/templates/deployment.yaml @@ -38,6 +38,12 @@ spec: {{- end }} {{- end }} {{- end }} + {{- if .Values.config.secrets }} + checksum/secrets: "{{ toJson .Values.config.secrets | sha256sum }}" + {{- end }} + {{- if .Values.config.secretsB64 }} + checksum/secretsB64: "{{ toJson .Values.config.secretsB64 | sha256sum }}" + {{- end }} spec: {{- if .Values.cloudserviceaccount.deploy }} serviceAccount: {{ .Values.cloudserviceaccount.name }}