Skip to content

Commit

Permalink
fix(ansible-semaphore): prevent unnecessary checksum/config changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pgmgb authored and tboerger committed Oct 26, 2024
1 parent 776f6e1 commit b840a8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stable/ansible-semaphore/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ name: ansible-semaphore
sources:
- https://github.com/ansible-semaphore/semaphore
type: application
version: 11.1.8
version: 11.1.9
2 changes: 1 addition & 1 deletion stable/ansible-semaphore/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
labels:
{{- include "ansible-semaphore.labels" . | nindent 8 }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
checksum/config: {{ (include (print $.Template.BasePath "/configmap.yaml") . | fromYaml).data | toYaml | sha256sum }}
checksum/secret: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
{{- if .Values.annotations }}
{{- toYaml .Values.annotations | nindent 8 }}
Expand Down

0 comments on commit b840a8d

Please sign in to comment.