mongodb: allow users to specify the serviceType (#1650)

This commit is contained in:
Sameer Naik
2017-08-09 11:30:08 +01:00
committed by Adnan Abdulhussein
parent ff82c2d1e5
commit c93c3e4ded
4 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -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:
+1
View File
@@ -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` |
+1
View File
@@ -8,6 +8,7 @@ metadata:
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
spec:
type: {{ .Values.serviceType }}
ports:
- name: mongodb
port: 27017
+3
View File
@@ -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/
##