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:
guptaarvindk
2018-10-23 11:01:31 -07:00
committed by k8s-ci-robot
parent 4cd066231a
commit 44ef3e6f35
7 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -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:
+1
View File
@@ -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
+1
View File
@@ -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.
+1
View File
@@ -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.