summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2021-07-27 13:36:01 +0000
committerGerrit Code Review <gerrit@onap.org>2021-07-27 13:36:01 +0000
commitbe3baadbcf424fab7c1dd1916a46558a6e9daeb1 (patch)
treed582a2070cdb5382fd5208408508f4ad7f70673e
parent36d8bc5d303a36e88d8904f75f860a2e6aaa5515 (diff)
parent7d2a8cc37a187bbd875af7930f8b8a8b91054b23 (diff)
Merge "[POLICY] Added imagePullSecrets to common template files" into honolulu
-rwxr-xr-xkubernetes/policy/components/policy-clamp-be/templates/job.yaml2
-rwxr-xr-xkubernetes/policy/templates/job.yaml2
2 files changed, 4 insertions, 0 deletions
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