diff options
author | andreas-geissler <andreas-geissler@telekom.de> | 2021-07-19 17:46:31 +0200 |
---|---|---|
committer | andreas-geissler <andreas-geissler@telekom.de> | 2021-07-19 17:49:28 +0200 |
commit | 5389da8a1a915f5423df99d97b3c6ebee16916ec (patch) | |
tree | 9d62d47e253ef24c42ecfaf4e4c1b28bf967ab19 /kubernetes/platform | |
parent | cf5232aa2cd22ab4a06fcf5c0eb87e9cac883d45 (diff) |
[PLATFORM] Added imagePullSecrets to common template files
Added the missing definition for imagePullSecrets in the
deployment.yaml of oom-cert-service, cmpv2-cert-provider
to support the registryGenerator
Issue-ID: OOM-2792
Signed-off-by: andreas-geissler <andreas-geissler@telekom.de>
Change-Id: I6cec6b223515de649606f1daba1dd920a8348213
Diffstat (limited to 'kubernetes/platform')
-rw-r--r-- | kubernetes/platform/components/cmpv2-cert-provider/templates/deployment.yaml | 2 | ||||
-rw-r--r-- | kubernetes/platform/components/oom-cert-service/templates/deployment.yaml | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/kubernetes/platform/components/cmpv2-cert-provider/templates/deployment.yaml b/kubernetes/platform/components/cmpv2-cert-provider/templates/deployment.yaml index 8bcbc1f7d0..c5f289f2d9 100644 --- a/kubernetes/platform/components/cmpv2-cert-provider/templates/deployment.yaml +++ b/kubernetes/platform/components/cmpv2-cert-provider/templates/deployment.yaml @@ -33,6 +33,8 @@ spec: labels: control-plane: controller-manager spec: + imagePullSecrets: + - name: "{{ include "common.namespace" . }}-docker-registry-key" initContainers: {{ include "common.readinessCheck.waitFor" . | indent 6 | trim }} containers: diff --git a/kubernetes/platform/components/oom-cert-service/templates/deployment.yaml b/kubernetes/platform/components/oom-cert-service/templates/deployment.yaml index 9a6abd4eb9..8215ed949e 100644 --- a/kubernetes/platform/components/oom-cert-service/templates/deployment.yaml +++ b/kubernetes/platform/components/oom-cert-service/templates/deployment.yaml @@ -23,6 +23,8 @@ spec: template: metadata: {{- include "common.templateMetadata" . | nindent 6 }} spec: + imagePullSecrets: + - name: "{{ include "common.namespace" . }}-docker-registry-key" volumes: {{- if .Values.global.addTestingComponents }} - name: cmp-servers-template-volume |