From: Krzysztof Opasiak Date: Tue, 27 Jul 2021 13:36:01 +0000 (+0000) Subject: Merge "[POLICY] Added imagePullSecrets to common template files" into honolulu X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=be3baadbcf424fab7c1dd1916a46558a6e9daeb1;hp=36d8bc5d303a36e88d8904f75f860a2e6aaa5515;p=oom.git Merge "[POLICY] Added imagePullSecrets to common template files" into honolulu --- diff --git a/kubernetes/policy/components/policy-clamp-be/templates/job.yaml b/kubernetes/policy/components/policy-clamp-be/templates/job.yaml index c5c968a2e1..8fe711b825 100755 --- a/kubernetes/policy/components/policy-clamp-be/templates/job.yaml +++ b/kubernetes/policy/components/policy-clamp-be/templates/job.yaml @@ -30,6 +30,8 @@ spec: app: {{ include "common.name" . }}-policy-clamp-job release: {{ include "common.release" . }} spec: + imagePullSecrets: + - name: "{{ include "common.namespace" . }}-docker-registry-key" initContainers: #This container checks that all galera instances are up before initializing it. - name: {{ include "common.name" . }}-readiness diff --git a/kubernetes/policy/templates/job.yaml b/kubernetes/policy/templates/job.yaml index f2a55879ee..ad195722b2 100755 --- a/kubernetes/policy/templates/job.yaml +++ b/kubernetes/policy/templates/job.yaml @@ -30,6 +30,8 @@ spec: app: {{ include "common.name" . }}-job release: {{ include "common.release" . }} spec: + imagePullSecrets: + - name: "{{ include "common.namespace" . }}-docker-registry-key" initContainers: #This container checks that all galera instances are up before initializing it. - name: {{ include "common.name" . }}-readiness