From 6ce5c09e3f44f15929abf6569c7be464f7c3efbe Mon Sep 17 00:00:00 2001 From: andreas-geissler Date: Mon, 19 Jul 2021 17:37:10 +0200 Subject: [PATCH] [CONTRIB] Added imagePullSecrets to common template files 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 Change-Id: Ib5397889f7e1159c8cac472d2565065e90fcc83d --- kubernetes/contrib/components/ejbca/templates/deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kubernetes/contrib/components/ejbca/templates/deployment.yaml b/kubernetes/contrib/components/ejbca/templates/deployment.yaml index a10b0592de..46f7d3521c 100644 --- a/kubernetes/contrib/components/ejbca/templates/deployment.yaml +++ b/kubernetes/contrib/components/ejbca/templates/deployment.yaml @@ -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: -- 2.16.6