aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/dcaegen2
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2021-10-19 10:14:01 +0000
committerAndreas Geissler <andreas-geissler@telekom.de>2021-11-08 14:40:15 +0000
commitacc9e528dd76ebaae3156fa38964c6ac7c743ffc (patch)
tree97bdb0bb70ac97ad2e0e37d3c5d6c2d03defee44 /kubernetes/dcaegen2
parent25cd0c8bbc924be393bc23e5793f245a5dc93d83 (diff)
[DCAEGEN2] Added imagePullSecret to cleanup job
Added the imagePullSecret in the job to enable private registries with credential access Issue-ID: OOM-2869 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I00f2166dee740a226f30e51b81b5e8e7f8396d04 (cherry picked from commit 72b14dedce781f6c2d2a42f51ffeab7995dd0c83)
Diffstat (limited to 'kubernetes/dcaegen2')
-rw-r--r--kubernetes/dcaegen2/components/dcae-cloudify-manager/templates/job.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/kubernetes/dcaegen2/components/dcae-cloudify-manager/templates/job.yaml b/kubernetes/dcaegen2/components/dcae-cloudify-manager/templates/job.yaml
index 2e8b4cd4e8..f01edd240b 100644
--- a/kubernetes/dcaegen2/components/dcae-cloudify-manager/templates/job.yaml
+++ b/kubernetes/dcaegen2/components/dcae-cloudify-manager/templates/job.yaml
@@ -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 }}