Fix checksum/cmd-params and checksum/cm to prevent unnecessary diffs

Signed-off-by: Patrick <94605888+pgmgb@users.noreply.github.com>
This commit is contained in:
pgmgb 2024-11-13 08:37:44 +01:00 committed by Patrick
parent 0061e14563
commit 6c682b22ba
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
name: argocd-image-updater
description: A Helm chart for Argo CD Image Updater, a tool to automatically update the container images of Kubernetes workloads which are managed by Argo CD
type: application
version: 0.11.2
version: 0.11.3
appVersion: v0.15.1
home: https://github.com/argoproj-labs/argocd-image-updater
icon: https://argocd-image-updater.readthedocs.io/en/stable/assets/logo.png

View file

@ -18,7 +18,7 @@ spec:
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
checksum/config: {{ (include (print $.Template.BasePath "/configmap.yaml") . | fromYaml).data | toYaml | sha256sum }}
labels:
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}