summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/cassandra/templates/statefulset.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-07-13 11:54:01 +0000
committerGerrit Code Review <gerrit@onap.org>2021-07-13 11:54:01 +0000
commitffbb82ee45ba888a4e4a543c789fb10acf01f3bb (patch)
tree95e0829b05ab06a651c39d18aa5853e2eeab70cb /kubernetes/common/cassandra/templates/statefulset.yaml
parent2f15241c9449a56bfff6606071e3c5c538cd2a90 (diff)
parentf84cccd0fad42df9fc4c590ea93a2f164f3f3071 (diff)
Merge "[COMMON] Added imagePullSecrets to common template files with some fix"
Diffstat (limited to 'kubernetes/common/cassandra/templates/statefulset.yaml')
-rw-r--r--kubernetes/common/cassandra/templates/statefulset.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/common/cassandra/templates/statefulset.yaml b/kubernetes/common/cassandra/templates/statefulset.yaml
index 8ae64ac79a..840e95b490 100644
--- a/kubernetes/common/cassandra/templates/statefulset.yaml
+++ b/kubernetes/common/cassandra/templates/statefulset.yaml
@@ -28,6 +28,8 @@ spec:
metadata: {{- include "common.templateMetadata" . | nindent 6 }}
spec:
hostNetwork: {{ .Values.hostNetwork }}
+ imagePullSecrets:
+ - name: "{{ include "common.namespace" . }}-docker-registry-key"
containers:
- name: {{ include "common.name" . }}
image: {{ include "repositoryGenerator.dockerHubRepository" . }}/{{ .Values.image }}