Skip to content

Commit

Permalink
Ensure Pod Restarts upon Object Update.
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
[email protected] authored and em- committed Jan 16, 2024
1 parent 73b335b commit a494442
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ spec:
metadata:
{{- with .Values.podAnnotations }}
annotations:
checksum/secret: {{ include (print $.Template.BasePath "/gitlab-token-secret.yaml") . | sha256sum }}
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
Expand Down

0 comments on commit a494442

Please sign in to comment.