Commit da00d03b authored by Matt Pryor's avatar Matt Pryor
Browse files

Fix problem with image defaults getting overwritten

parent a0611bb0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ Produces an image specification.
{{- define "esgf.component.image" -}}
{{- $context := index . 0 -}}
{{- $overrides := index . 1 -}}
{{- $image := mergeOverwrite $context.Values.image $overrides -}}
{{- $image := deepCopy $context.Values.image | merge $overrides -}}
image: {{ printf "%s/%s:%s" $image.prefix $image.repository $image.tag }}
imagePullPolicy: {{ $image.pullPolicy }}
{{- end -}}