summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/music/components/music-cassandra/templates
diff options
context:
space:
mode:
authorandreas-geissler <andreas-geissler@telekom.de>2021-07-07 15:40:41 +0200
committerAndreas Geissler <andreas-geissler@telekom.de>2021-07-19 14:50:32 +0000
commit09a1e3590a56b723befc7d35692b87e96577b514 (patch)
tree39cc74e66c1e1b354562fd61e60462872661ac2a /kubernetes/common/music/components/music-cassandra/templates
parent2965155ba0466ebb04d12d0550ebf14643967e19 (diff)
[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 <andreas-geissler@telekom.de> Change-Id: I013ba52c9c49f95cd3d53fcaa9eb084adcbfe662 (cherry picked from commit f84cccd0fad42df9fc4c590ea93a2f164f3f3071)
Diffstat (limited to 'kubernetes/common/music/components/music-cassandra/templates')
-rw-r--r--kubernetes/common/music/components/music-cassandra/templates/statefulset.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/common/music/components/music-cassandra/templates/statefulset.yaml b/kubernetes/common/music/components/music-cassandra/templates/statefulset.yaml
index 2a1fb4f59e..71f86a9ecc 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 }}