mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 08:57:04 +02:00
feat(common): Release v2.6.0 (#268)
This commit is contained in:
parent
fab610df73
commit
903f7d6780
11 changed files with 68 additions and 28 deletions
|
@ -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 -}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue