[CONTRIB] Added imagePullSecrets to common template files 14/122714/2
authorandreas-geissler <andreas-geissler@telekom.de>
Mon, 19 Jul 2021 15:37:10 +0000 (17:37 +0200)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Tue, 20 Jul 2021 18:02:43 +0000 (18:02 +0000)
Added the missing definition for imagePullSecrets in the
  deployment.yaml of ejbca
to support the registryGenerator

Issue-ID: OOM-2791

Signed-off-by: andreas-geissler <andreas-geissler@telekom.de>
Change-Id: Ib5397889f7e1159c8cac472d2565065e90fcc83d

kubernetes/contrib/components/ejbca/templates/deployment.yaml

index a10b059..46f7d35 100644 (file)
@@ -23,6 +23,8 @@ spec:
   template:
     metadata: {{- include "common.templateMetadata" . | nindent 6 }}
     spec:
+      imagePullSecrets:
+      - name: "{{ include "common.namespace" . }}-docker-registry-key"
       initContainers:
       - name: {{ include "common.name" . }}-db-readiness
         command: