aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/mongo/templates
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-11-19 17:17:17 +0100
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-11-24 09:36:27 +0100
commitb086445cd7ee8f3f18f331e1c2a509cb4061f26f (patch)
tree446d91c06a551de06e006dfa7ae4bbb18f99aa9a /kubernetes/common/mongo/templates
parentfebf47fd7552d4551bbdcd9ae4898cdafad818f1 (diff)
[COMMON][MONGO] Uses new tpls for repos / images
This commit makes mongo template to use the new generator for repositories and images. As mongo images are coming from dockerhub, we're using directly this repository. Issue-ID: OOM-2364 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I9b3715de78d946d82b04f92b425bb9ae4fe2c806
Diffstat (limited to 'kubernetes/common/mongo/templates')
-rw-r--r--kubernetes/common/mongo/templates/statefulset.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/common/mongo/templates/statefulset.yaml b/kubernetes/common/mongo/templates/statefulset.yaml
index df922ed004..73186b392d 100644
--- a/kubernetes/common/mongo/templates/statefulset.yaml
+++ b/kubernetes/common/mongo/templates/statefulset.yaml
@@ -39,7 +39,7 @@ spec:
{{ include "common.podSecurityContext" . | indent 6 }}
containers:
- name: {{ include "common.name" . }}
- image: "{{ .Values.dockerHubRepository }}/{{ .Values.image }}"
+ image: {{ include "repositoryGenerator.dockerHubRepository" . }}/{{ .Values.image }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
command:
- docker-entrypoint.sh