[COMMON] Make imagePullSecrets configurable
[oom.git] / kubernetes / uui / components / uui-server / templates / job.yaml
index 943079b..6ca5ee4 100644 (file)
@@ -66,11 +66,9 @@ spec:
           mountPath: /aaa/init/postgres.sql
           subPath: postgres.sql
       {{ include "common.waitForJobContainer" . | indent 6 | trim }}
-      imagePullSecrets:
-      - name: "{{ include "common.namespace" . }}-docker-registry-key"
+      {{- include "common.imagePullSecrets" . | nindent 6 }}
       serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
       volumes:
       - name: init-data
         configMap:
           name: {{ include "common.fullname" . }}
-