diff --git a/charts/service/templates/cronjob.yaml b/charts/service/templates/cronjob.yaml index ff6f412..9d44824 100644 --- a/charts/service/templates/cronjob.yaml +++ b/charts/service/templates/cronjob.yaml @@ -29,7 +29,7 @@ spec: spec: serviceAccountName: {{ $serviceAccountName }} containers: - - image: "{{ .image.repository | $image }}:{{ .image.tag | $tag }}" + - image: "{{ .image.repository | default $image }}:{{ .image.tag | default $tag }}" imagePullPolicy: {{ $imagePullPolicy }} name: {{ .name }} env: