[COMMON] Make imagePullSecrets configurable
[oom.git] / kubernetes / uui / components / uui-intent-analysis / templates / job.yaml
index 9191af0..c020f0e 100644 (file)
@@ -74,8 +74,7 @@ spec:
           mountPath: /aaa/init/intent-analysis-init.sql
           subPath: intent-analysis-init.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