global image pull issue
[oom.git] / kubernetes / oof / charts / oof-has / templates / job-onboard.yaml
index 2b24d40..a27e190 100755 (executable)
@@ -65,7 +65,7 @@ spec:
         name: {{ include "common.name" . }}-music-db-readiness
       containers:
       - image: "{{ include "common.repository" . }}/{{ .Values.global.image.optf_has }}"
-        imagePullPolicy: {{ .Values.pullPolicy }}
+        imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
         name: {{ include "common.name" . }}-onboard
         command:
           - "/bin/sh"
@@ -105,4 +105,4 @@ spec:
             path: onboard.json
       restartPolicy: OnFailure
       imagePullSecrets:
-      - name: "{{ include "common.namespace" . }}-docker-registry-key"
\ No newline at end of file
+      - name: "{{ include "common.namespace" . }}-docker-registry-key"