feat(common): Release v2.6.0 (#268)

This commit is contained in:
Bernd Schorgers 2024-02-14 13:30:12 +01:00 committed by GitHub
parent fab610df73
commit 903f7d6780
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 68 additions and 28 deletions

View file

@ -25,7 +25,11 @@ Returns the value for annotations
{{- /* Add configMaps checksum */ -}}
{{- $configMapsFound := dict -}}
{{- range $name, $configmap := $rootContext.Values.configMaps -}}
{{- if $configmap.enabled -}}
{{- $configMapEnabled := true -}}
{{- if hasKey $configmap "enabled" -}}
{{- $configMapEnabled = $configmap.enabled -}}
{{- end -}}
{{- if $configMapEnabled -}}
{{- $_ := set $configMapsFound $name (toYaml $configmap.data | sha256sum) -}}
{{- end -}}
{{- end -}}
@ -39,7 +43,11 @@ Returns the value for annotations
{{- /* Add Secrets checksum */ -}}
{{- $secretsFound := dict -}}
{{- range $name, $secret := $rootContext.Values.secrets -}}
{{- if $secret.enabled -}}
{{- $secretEnabled := true -}}
{{- if hasKey $secret "enabled" -}}
{{- $secretEnabled = $secret.enabled -}}
{{- end -}}
{{- if $secretEnabled -}}
{{- $_ := set $secretsFound $name (toYaml $secret.stringData | sha256sum) -}}
{{- end -}}
{{- end -}}