issue 12411 (#12415)

add var for ipv6 in mongodb arbiter statefulset

Signed-off-by: Aleksandr Samarin <samarinalex47@gmail.com>

Signed-off-by: Aleksandr Samarin <samarinalex47@gmail.com>
This commit is contained in:
alexvbg
2022-09-14 11:26:15 +02:00
committed by GitHub
parent 909819b2df
commit 5d3192203c
2 changed files with 3 additions and 1 deletions

View File

@@ -26,4 +26,4 @@ name: mongodb
sources:
- https://github.com/bitnami/containers/tree/main/bitnami/mongodb
- https://mongodb.org
version: 13.1.2
version: 13.1.3

View File

@@ -156,6 +156,8 @@ spec:
value: "$(MY_POD_NAME).$(K8S_SERVICE_NAME).$(MY_POD_NAMESPACE).svc.{{ .Values.clusterDomain }}"
- name: MONGODB_PORT_NUMBER
value: {{ .Values.arbiter.containerPorts.mongodb | quote }}
- name: MONGODB_ENABLE_IPV6
value: {{ ternary "yes" "no" .Values.enableIPv6 | quote }}
{{- if .Values.auth.enabled }}
- name: MONGODB_INITIAL_PRIMARY_ROOT_USER
value: {{ .Values.auth.rootUser | quote }}