Merge "[DCAEGEN2] Added imagePullSecret to cleanup job"
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Fri, 29 Oct 2021 14:31:36 +0000 (14:31 +0000)
committerGerrit Code Review <gerrit@onap.org>
Fri, 29 Oct 2021 14:31:36 +0000 (14:31 +0000)
kubernetes/dcaegen2/components/dcae-cloudify-manager/templates/job.yaml

index 2e8b4cd..f01edd2 100644 (file)
@@ -37,8 +37,10 @@ spec:
         app: {{ include "common.name" . }}
         release: {{ include "common.release" . }}
     spec:
+      imagePullSecrets:
+      - name: "{{ include "common.namespace" . }}-docker-registry-key"
       restartPolicy: Never
       containers:
       - name: dcae-cleanup
         image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.cleanupImage }}
-        imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
\ No newline at end of file
+        imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}