diff options
author | andreas-geissler <andreas-geissler@telekom.de> | 2021-07-19 17:53:22 +0200 |
---|---|---|
committer | andreas-geissler <andreas-geissler@telekom.de> | 2021-07-19 17:55:21 +0200 |
commit | 7d85f3f93b7189f83a2e573431698ae75ebcddab (patch) | |
tree | 7b3ad412ee32c32f5fc75fc362c66337b4fa136a /kubernetes/policy | |
parent | cf5232aa2cd22ab4a06fcf5c0eb87e9cac883d45 (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
Diffstat (limited to 'kubernetes/policy')
-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 |