mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
mongodb: allow users to specify the serviceType (#1650)
This commit is contained in:
committed by
Adnan Abdulhussein
parent
ff82c2d1e5
commit
c93c3e4ded
@@ -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:
|
||||
|
||||
@@ -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` |
|
||||
|
||||
@@ -8,6 +8,7 @@ metadata:
|
||||
release: "{{ .Release.Name }}"
|
||||
heritage: "{{ .Release.Service }}"
|
||||
spec:
|
||||
type: {{ .Values.serviceType }}
|
||||
ports:
|
||||
- name: mongodb
|
||||
port: 27017
|
||||
|
||||
@@ -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/
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user