summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/mongo
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-07-20 06:39:01 +0000
committerGerrit Code Review <gerrit@onap.org>2021-07-20 06:39:01 +0000
commit2e8f9d894cf4c6afabc5387a182fd3483918e76a (patch)
tree3b69a28a91a1fd8f3f7039e297fb91daf4416d91 /kubernetes/common/mongo
parentb15304d878f145c9d3934e9bb0ab019fb4c010df (diff)
parent09a1e3590a56b723befc7d35692b87e96577b514 (diff)
Merge "[COMMON] Added imagePullSecrets to common template files with some fix" into honolulu
Diffstat (limited to 'kubernetes/common/mongo')
-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 }}