diff options
author | andreas-geissler <andreas-geissler@telekom.de> | 2021-07-19 17:53:22 +0200 |
---|---|---|
committer | Krzysztof Opasiak <k.opasiak@samsung.com> | 2021-07-22 09:41:17 +0000 |
commit | 7d2a8cc37a187bbd875af7930f8b8a8b91054b23 (patch) | |
tree | 8670dafb8e2c03a93b13a3a46c0d63eb8fba43f2 | |
parent | 2e8f9d894cf4c6afabc5387a182fd3483918e76a (diff) |
[POLICY] Added imagePullSecrets to common template files
Added the missing definition for imagePullSecrets in the
job.yaml (policy, clamp-be)
to support the registryGenerator.
Issue-ID: OOM-2793
Signed-off-by: andreas-geissler <andreas-geissler@telekom.de>
Change-Id: I482564ad13cbb6736520a887ced344bbb95d1fba
(cherry picked from commit 7d85f3f93b7189f83a2e573431698ae75ebcddab)
-rwxr-xr-x | kubernetes/policy/components/policy-clamp-be/templates/job.yaml | 2 | ||||
-rwxr-xr-x | kubernetes/policy/templates/job.yaml | 2 |
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 |