[PLATFORM] Added imagePullSecrets to common template files 16/122716/1
authorandreas-geissler <andreas-geissler@telekom.de>
Mon, 19 Jul 2021 15:46:31 +0000 (17:46 +0200)
committerandreas-geissler <andreas-geissler@telekom.de>
Mon, 19 Jul 2021 15:49:28 +0000 (17:49 +0200)
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

kubernetes/platform/components/cmpv2-cert-provider/templates/deployment.yaml
kubernetes/platform/components/oom-cert-service/templates/deployment.yaml

index 8bcbc1f..c5f289f 100644 (file)
@@ -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:
index 9a6abd4..8215ed9 100644 (file)
@@ -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