Merge "[POLICY] Added imagePullSecrets to common template files" into honolulu
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Tue, 27 Jul 2021 13:36:01 +0000 (13:36 +0000)
committerGerrit Code Review <gerrit@onap.org>
Tue, 27 Jul 2021 13:36:01 +0000 (13:36 +0000)
kubernetes/policy/components/policy-clamp-be/templates/job.yaml
kubernetes/policy/templates/job.yaml

index c5c968a..8fe711b 100755 (executable)
@@ -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
index f2a5587..ad19572 100755 (executable)
@@ -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