Skip to content

Commit

Permalink
add checksum
Browse files Browse the repository at this point in the history
  • Loading branch information
ddecrulle committed Mar 29, 2024
1 parent 82f51e6 commit e0656d0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/drama-queen/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.0.0
version: 0.1.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
7 changes: 6 additions & 1 deletion charts/drama-queen/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,14 @@ spec:
{{- include "drama-queen.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
{{- if or .Values.podAnnotations .Values.env }}
annotations:
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.env }}
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum | quote }}
{{- end }}
{{- end }}
labels:
{{- include "drama-queen.selectorLabels" . | nindent 8 }}
Expand Down
3 changes: 1 addition & 2 deletions charts/drama-queen/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,4 @@ tolerations: []

affinity: {}

env:
toto: titi
env: {}

0 comments on commit e0656d0

Please sign in to comment.