From: andreas-geissler Date: Mon, 19 Jul 2021 15:37:10 +0000 (+0200) Subject: [CONTRIB] Added imagePullSecrets to common template files X-Git-Tag: 9.0.0~185^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=oom.git;a=commitdiff_plain;h=6ce5c09e3f44f15929abf6569c7be464f7c3efbe [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 --- 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: