diff options
author | Andreas Geissler <andreas-geissler@telekom.de> | 2022-01-10 12:58:06 +0000 |
---|---|---|
committer | Andreas Geissler <andreas-geissler@telekom.de> | 2022-01-10 13:01:53 +0000 |
commit | 281cd4b947298d48aead1a01204012c63fcae900 (patch) | |
tree | f8d3a1ee0195489dc200286c58eaf77b1f4c363d /kubernetes/common/certInitializer/templates | |
parent | 0d2cf1aee02c84d5ff262b4ac1d414fdadf5432b (diff) |
[COMMON] Added imagePullSecrets to certInitializer job
Added missing definition to use secret for repository access
Issue-ID: OOM-2907
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Change-Id: If0886b2a59df7786c3655851610e1a6b3aca73ff
Diffstat (limited to 'kubernetes/common/certInitializer/templates')
-rw-r--r-- | kubernetes/common/certInitializer/templates/job.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/common/certInitializer/templates/job.yaml b/kubernetes/common/certInitializer/templates/job.yaml index 2acb423511..84a3e87098 100644 --- a/kubernetes/common/certInitializer/templates/job.yaml +++ b/kubernetes/common/certInitializer/templates/job.yaml @@ -25,6 +25,8 @@ spec: metadata: {{- include "common.templateMetadata" . | nindent 6 }} spec: initContainers: {{ include "common.certInitializer.initContainer" (dict "dot" . "initRoot" .Values) | nindent 6 }} + imagePullSecrets: + - name: "{{ include "common.namespace" . }}-docker-registry-key" containers: - name: create-tls-secret command: |