mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 00:47: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
|
@ -48,6 +48,9 @@ spec:
|
|||
{{- with $cronjobObject.cronjob.ttlSecondsAfterFinished }}
|
||||
ttlSecondsAfterFinished: {{ . }}
|
||||
{{- end }}
|
||||
{{- with $cronjobObject.cronjob.parallelism }}
|
||||
parallelism: {{ . }}
|
||||
{{- end }}
|
||||
backoffLimit: {{ $cronjobObject.cronjob.backoffLimit }}
|
||||
template:
|
||||
metadata:
|
||||
|
|
|
@ -33,6 +33,15 @@ spec:
|
|||
{{- with $jobObject.job.ttlSecondsAfterFinished }}
|
||||
ttlSecondsAfterFinished: {{ . }}
|
||||
{{- end }}
|
||||
{{- with $jobObject.job.parallelism }}
|
||||
parallelism: {{ . }}
|
||||
{{- end }}
|
||||
{{- with $jobObject.job.completions }}
|
||||
completions: {{ . }}
|
||||
{{- end }}
|
||||
{{- with $jobObject.job.completionMode }}
|
||||
completionMode: {{ . }}
|
||||
{{- end }}
|
||||
backoffLimit: {{ $jobObject.job.backoffLimit }}
|
||||
template:
|
||||
metadata:
|
||||
|
|
|
@ -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