Skip to content

Commit

Permalink
[stable/karma] make configchanges roll the deployment (helm#11077)
Browse files Browse the repository at this point in the history
Signed-off-by: David J. M. Karlsen <[email protected]>
  • Loading branch information
davidkarlsen authored and k8s-ci-robot committed Feb 1, 2019
1 parent 1912822 commit 71be2b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stable/karma/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ home: https://github.com/prymitive/karma
sources:
- https://hub.docker.com/r/lmierzwa/karma/
- https://github.com/prymitive/karma
version: 1.1.10
version: 1.1.11
maintainers:
- name: davidkarlsen
email: [email protected]
Expand Down
5 changes: 4 additions & 1 deletion stable/karma/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ spec:
labels:
app.kubernetes.io/name: {{ include "karma.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- if .Values.configMap.enabled }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
{{- end }}
spec:
serviceAccountName: {{ template "karma.serviceAccountName" . }}
containers:
Expand Down Expand Up @@ -73,4 +77,3 @@ spec:
configMap:
name: {{ .Release.Name }}-config
{{- end }}

0 comments on commit 71be2b1

Please sign in to comment.