diff --git a/charts/netbox/Chart.yaml b/charts/netbox/Chart.yaml index 94f5ee9e..9160c1b4 100644 --- a/charts/netbox/Chart.yaml +++ b/charts/netbox/Chart.yaml @@ -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 diff --git a/charts/netbox/templates/deployment.yaml b/charts/netbox/templates/deployment.yaml index 50c6b4e2..3159d5ea 100644 --- a/charts/netbox/templates/deployment.yaml +++ b/charts/netbox/templates/deployment.yaml @@ -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