Skip to content

Commit

Permalink
charts/service-deployment: Updating secrets does not trigger deployme…
Browse files Browse the repository at this point in the history
…nt updates (closes #163)
  • Loading branch information
jbeemster committed Feb 14, 2024
1 parent 23e086d commit 873da46
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/service-deployment/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
6 changes: 6 additions & 0 deletions charts/service-deployment/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 873da46

Please sign in to comment.