[COMMON] Make imagePullSecrets configurable
[oom.git] / kubernetes / vnfsdk / templates / job.yaml
index ea06b54..7c09d97 100644 (file)
@@ -75,8 +75,7 @@ spec:
           mountPath: /aaa/init/marketplace_tables_postgres.sql
           subPath: marketplace_tables_postgres.sql
       {{ include "common.waitForJobContainer" . | indent 6 | trim }}
-      imagePullSecrets:
-      - name: "{{ include "common.namespace" . }}-docker-registry-key"
+      {{- include "common.imagePullSecrets" . | nindent 6 }}
       volumes:
       - name: init-data
         configMap: