mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Mongodb/ipv6 (#7674)
* suport for: - headless services and static clusterIP - option to disable the IPV6 even in standalone deploymnet. Signed-off-by: Arvind Gupta <guptaarvindk@gmail.com> * documentation for previous commit (clusterIP, headless service, ipv6 disable) Signed-off-by: Arvind Gupta <guptaarvindk@gmail.com> * bumped chart version. fixed typo in values.yaml Signed-off-by: Arvind Gupta <guptaarvindk@gmail.com>
This commit is contained in:
committed by
k8s-ci-robot
parent
4cd066231a
commit
44ef3e6f35
@@ -1,5 +1,5 @@
|
||||
name: mongodb
|
||||
version: 4.6.1
|
||||
version: 4.6.2
|
||||
appVersion: 4.0.3
|
||||
description: NoSQL document-oriented database that stores JSON-like documents with dynamic schemas, simplifying the integration of data in content-driven applications.
|
||||
keywords:
|
||||
|
||||
@@ -63,6 +63,7 @@ The following table lists the configurable parameters of the MongoDB chart and t
|
||||
| `mongodbExtraFlags` | MongoDB additional command line flags | [] |
|
||||
| `service.annotations` | Kubernetes service annotations | `{}` |
|
||||
| `service.type` | Kubernetes Service type | `ClusterIP` |
|
||||
| `service.clusterIP` | Static clusterIP or None for headless services | `nil` |
|
||||
| `service.nodePort` | Port to bind to for NodePort service type | `nil` |
|
||||
| `port` | MongoDB service port | `27017` |
|
||||
| `replicaSet.enabled` | Switch to enable/disable replica set configuration | `false` |
|
||||
|
||||
@@ -78,6 +78,12 @@ spec:
|
||||
{{- end }}
|
||||
- name: MONGODB_EXTRA_FLAGS
|
||||
value: {{ default "" .Values.mongodbExtraFlags | join " " }}
|
||||
- name: MONGODB_ENABLE_IPV6
|
||||
{{- if .Values.mongodbEnableIPv6 }}
|
||||
value: "yes"
|
||||
{{- else }}
|
||||
value: "no"
|
||||
{{- end }}
|
||||
ports:
|
||||
- name: mongodb
|
||||
containerPort: 27017
|
||||
|
||||
@@ -14,6 +14,9 @@ metadata:
|
||||
{{- end }}
|
||||
spec:
|
||||
type: {{ .Values.service.type }}
|
||||
{{- if and (eq .Values.service.type "ClusterIP") .Values.service.clusterIP }}
|
||||
clusterIP: {{ .Values.service.clusterIP }}
|
||||
{{- end }}
|
||||
ports:
|
||||
- name: mongodb
|
||||
port: 27017
|
||||
|
||||
@@ -14,6 +14,9 @@ metadata:
|
||||
{{- end }}
|
||||
spec:
|
||||
type: {{ .Values.service.type }}
|
||||
{{- if and (eq .Values.service.type "ClusterIP") .Values.service.clusterIP }}
|
||||
clusterIP: {{ .Values.service.clusterIP }}
|
||||
{{- end }}
|
||||
ports:
|
||||
- name: mongodb
|
||||
port: 27017
|
||||
|
||||
@@ -73,6 +73,7 @@ clusterDomain: cluster.local
|
||||
service:
|
||||
annotations: {}
|
||||
type: ClusterIP
|
||||
# clusterIP: None
|
||||
port: 27017
|
||||
|
||||
## Specify the nodePort value for the LoadBalancer and NodePort service types.
|
||||
|
||||
@@ -74,6 +74,7 @@ clusterDomain: cluster.local
|
||||
service:
|
||||
annotations: {}
|
||||
type: ClusterIP
|
||||
# clusterIP: None
|
||||
port: 27017
|
||||
|
||||
## Specify the nodePort value for the LoadBalancer and NodePort service types.
|
||||
|
||||
Reference in New Issue
Block a user