mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-03 16:37:04 +02:00
feat(common): Release 2.0.1 (#193)
This commit is contained in:
parent
bf5b623fa6
commit
66389dec8b
13 changed files with 240 additions and 148 deletions
|
@ -8,6 +8,14 @@ Convert container values to an object
|
|||
|
||||
{{- $_ := set $objectValues "identifier" $identifier -}}
|
||||
|
||||
{{- /* Convert float64 image tags to string */ -}}
|
||||
{{- if kindIs "map" $objectValues.image -}}
|
||||
{{- $imageTag := dig "image" "tag" "" $objectValues -}}
|
||||
{{- if kindIs "float64" $imageTag -}}
|
||||
{{- $_ := set $objectValues.image "tag" ($imageTag | toString) -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* Return the container object */ -}}
|
||||
{{- $objectValues | toYaml -}}
|
||||
{{- end -}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue