mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 08:57:04 +02:00
feat(common)!: Release v3.0.0-beta1 (#278)
This commit is contained in:
parent
deafcf75a1
commit
b78483b0b8
88 changed files with 3697 additions and 1209 deletions
|
@ -24,18 +24,6 @@ Convert controller values to an object
|
|||
{{- $_ := set $objectValues "name" $objectName -}}
|
||||
{{- $_ := set $objectValues "identifier" $identifier -}}
|
||||
|
||||
{{- /* Set the default Pod options for the controller */ -}}
|
||||
{{- range $index, $key := keys $rootContext.Values.defaultPodOptions -}}
|
||||
{{- if not (hasKey $objectValues "pod") -}}
|
||||
{{- $_ := set $objectValues "pod" dict -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- $defaultValue := get $rootContext.Values.defaultPodOptions $key -}}
|
||||
{{- if not (hasKey $objectValues.pod $key) -}}
|
||||
{{- $_ := set $objectValues.pod $key $defaultValue -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* Return the controller object */ -}}
|
||||
{{- $objectValues | toYaml -}}
|
||||
{{- end -}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue