Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "[DCAEMOD] Uses new tpls for repos / images"
[oom.git]
/
kubernetes
/
common
/
mongo
/
templates
/
statefulset.yaml
diff --git
a/kubernetes/common/mongo/templates/statefulset.yaml
b/kubernetes/common/mongo/templates/statefulset.yaml
index
abc71b3
..
73186b3
100644
(file)
--- 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" . }}
{{ 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
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
command:
- docker-entrypoint.sh
@@
-71,8
+71,7
@@
spec:
volumeMounts:
- name: {{ include "common.fullname" . }}-data
mountPath: /var/lib/mongo
volumeMounts:
- name: {{ include "common.fullname" . }}-data
mountPath: /var/lib/mongo
- resources:
-{{ include "common.resources" . | indent 12 }}
+ resources: {{ include "common.resources" . | nindent 12 }}
{{ include "common.containerSecurityContext" . | indent 10 }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{ include "common.containerSecurityContext" . | indent 10 }}
{{- if .Values.nodeSelector }}
nodeSelector: