Skip to content

Commit a494442

Browse files
pvigo@collabora.comemanueleaina
authored andcommitted
Ensure Pod Restarts upon Object Update.
Ensure Pod restarts automatically whenever Secret object is updated. A hash of the object is now included in Deployment. Signed-off-by: [email protected] <[email protected]>
1 parent 73b335b commit a494442

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

chart/templates/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ spec:
1515
metadata:
1616
{{- with .Values.podAnnotations }}
1717
annotations:
18+
checksum/secret: {{ include (print $.Template.BasePath "/gitlab-token-secret.yaml") . | sha256sum }}
1819
{{- toYaml . | nindent 8 }}
1920
{{- end }}
2021
labels:

0 commit comments

Comments
 (0)