From f84cccd0fad42df9fc4c590ea93a2f164f3f3071 Mon Sep 17 00:00:00 2001 From: andreas-geissler Date: Wed, 7 Jul 2021 15:40:41 +0200 Subject: [COMMON] Added imagePullSecrets to common template files with some fix Added the missing definition for imagePullSecrets in the statefulsets.yaml deployment.yaml to support the registryGenerator Issue-ID: OOM-2789 Signed-off-by: andreas-geissler Change-Id: I013ba52c9c49f95cd3d53fcaa9eb084adcbfe662 --- .../common/music/components/music-cassandra/templates/statefulset.yaml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kubernetes/common/music/components/music-cassandra/templates') diff --git a/kubernetes/common/music/components/music-cassandra/templates/statefulset.yaml b/kubernetes/common/music/components/music-cassandra/templates/statefulset.yaml index 1aabfb6bcc..d80e70b5fb 100644 --- a/kubernetes/common/music/components/music-cassandra/templates/statefulset.yaml +++ b/kubernetes/common/music/components/music-cassandra/templates/statefulset.yaml @@ -41,6 +41,8 @@ spec: release: {{ include "common.release" . }} name: {{ include "common.name" . }} spec: + imagePullSecrets: + - name: "{{ include "common.namespace" . }}-docker-registry-key" containers: - name: {{ include "common.name" . }} image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }} -- cgit 1.2.3-korg