aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/mongo/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/mongo/templates/statefulset.yaml
parent2f15241c9449a56bfff6606071e3c5c538cd2a90 (diff)
parentf84cccd0fad42df9fc4c590ea93a2f164f3f3071 (diff)
Merge "[COMMON] Added imagePullSecrets to common template files with some fix"
Diffstat (limited to 'kubernetes/common/mongo/templates/statefulset.yaml')
-rw-r--r--kubernetes/common/mongo/templates/statefulset.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/common/mongo/templates/statefulset.yaml b/kubernetes/common/mongo/templates/statefulset.yaml
index 73186b392d..11602054e8 100644
--- a/kubernetes/common/mongo/templates/statefulset.yaml
+++ b/kubernetes/common/mongo/templates/statefulset.yaml
@@ -37,6 +37,8 @@ spec:
release: {{ include "common.release" . }}
spec:
{{ include "common.podSecurityContext" . | indent 6 }}
+ imagePullSecrets:
+ - name: "{{ include "common.namespace" . }}-docker-registry-key"
containers:
- name: {{ include "common.name" . }}
image: {{ include "repositoryGenerator.dockerHubRepository" . }}/{{ .Values.image }}