diff --git a/stable/mongodb/Chart.yaml b/stable/mongodb/Chart.yaml index 57d0b5a3eb..59b5d54822 100644 --- a/stable/mongodb/Chart.yaml +++ b/stable/mongodb/Chart.yaml @@ -1,5 +1,5 @@ name: mongodb -version: 0.4.13 +version: 0.4.14 appVersion: 3.4.7 description: NoSQL document-oriented database that stores JSON-like documents with dynamic schemas, simplifying the integration of data in content-driven applications. keywords: diff --git a/stable/mongodb/README.md b/stable/mongodb/README.md index 350d12070b..bac5168a36 100644 --- a/stable/mongodb/README.md +++ b/stable/mongodb/README.md @@ -51,6 +51,7 @@ The following tables lists the configurable parameters of the MongoDB chart and | `mongodbUsername` | MongoDB custom user | `nil` | | `mongodbPassword` | MongoDB custom user password | `nil` | | `mongodbDatabase` | Database to create | `nil` | +| `serviceType` | Kubernetes Service type | `ClusterIP` | | `persistence.enabled` | Use a PVC to persist data | `true` | | `persistence.storageClass` | Storage class of backing PVC | `nil` (uses alpha storage class annotation) | | `persistence.accessMode` | Use volume as ReadOnly or ReadWrite | `ReadWriteOnce` | diff --git a/stable/mongodb/templates/svc.yaml b/stable/mongodb/templates/svc.yaml index 8e3c6d2c8f..f3433ae2cb 100644 --- a/stable/mongodb/templates/svc.yaml +++ b/stable/mongodb/templates/svc.yaml @@ -8,6 +8,7 @@ metadata: release: "{{ .Release.Name }}" heritage: "{{ .Release.Service }}" spec: + type: {{ .Values.serviceType }} ports: - name: mongodb port: 27017 diff --git a/stable/mongodb/values.yaml b/stable/mongodb/values.yaml index 674dd84423..9a8a1d3df9 100644 --- a/stable/mongodb/values.yaml +++ b/stable/mongodb/values.yaml @@ -21,6 +21,9 @@ image: bitnami/mongodb:3.4.7-r0 # mongodbPassword: # mongodbDatabase: +## Kubernetes service type +serviceType: ClusterIP + ## Enable persistence using Persistent Volume Claims ## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/ ##