Skip to content

Commit

Permalink
Use common helpers for checksums (#485)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoColomb authored Jan 16, 2025
1 parent ce45de3 commit 43b7938
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/netbox/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: netbox
version: 5.0.17
version: 5.0.18
# renovate: image=ghcr.io/netbox-community/netbox
appVersion: "v4.2.1"
type: application
Expand Down
4 changes: 2 additions & 2 deletions charts/netbox/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ spec:
{{- if .Values.podAnnotations }}
{{- include "common.tplvalues.render" ( dict "value" .Values.podAnnotations "context" $ ) | nindent 8 }}
{{- end }}
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
checksum/config: {{ include "common.utils.checksumTemplate" (dict "path" "/configmap.yaml" "context" $) }}
{{- if (not .Values.existingSecret) }}
checksum/secret: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
checksum/secret: {{ include "common.utils.checksumTemplate" (dict "path" "/secret.yaml" "context" $) }}
{{- end }}
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.podLabels "context" $ ) | nindent 8 }}
app.kubernetes.io/component: netbox
Expand Down

0 comments on commit 43b7938

Please sign in to comment.