[stable/karma] make configchanges roll the deployment (#11077)

Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>
This commit is contained in:
David J. M. Karlsen
2019-02-01 12:05:02 -08:00
committed by Kubernetes Prow Robot
parent 1912822188
commit 71be2b134f
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -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: david@davidkarlsen.com
+4 -1
View File
@@ -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:
@@ -73,4 +77,3 @@ spec:
configMap:
name: {{ .Release.Name }}-config
{{- end }}