Skip to content

Commit

Permalink
fix configMap checksum in deployment (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasehlert committed Aug 15, 2024
1 parent e99b974 commit 6c1fc25
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/tibiadata-api-go/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,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: 1.2.2
version: 1.2.3

# 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
6 changes: 3 additions & 3 deletions charts/tibiadata-api-go/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ spec:
{{- include "tibiadata-api-go.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- if .Values.configMap.create }}
checksum/cm: {{ include (print $.Template.BasePath "/templates/configmaps.yaml") . | sha256sum }}
checksum/cm: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
{{- end }}
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
labels:
{{- include "tibiadata-api-go.selectorLabels" . | nindent 8 }}
spec:
Expand Down

0 comments on commit 6c1fc25

Please sign in to comment.