[bitnami/mongodb] Add support for 'extraDeploy' (#6536)

This commit is contained in:
Juan Ariza Toledano
2021-06-02 09:13:09 +02:00
committed by GitHub
parent a8dca07acf
commit cdf83aa3ee
4 changed files with 10 additions and 2 deletions

View File

@@ -26,4 +26,4 @@ name: mongodb
sources:
- https://github.com/bitnami/bitnami-docker-mongodb
- https://mongodb.org
version: 10.16.4
version: 10.17.0

View File

@@ -76,6 +76,7 @@ The following tables lists the configurable parameters of the MongoDB® chart
| `nameOverride` | String to partially override mongodb.fullname | `nil` |
| `fullnameOverride` | String to fully override mongodb.fullname | `nil` |
| `clusterDomain` | Default Kubernetes cluster domain | `cluster.local` |
| `extraDeploy` | Array of extra objects to deploy with the release | `[]` (evaluated as a template) |
| `schedulerName` | Name of the scheduler (other than default) to dispatch pods | `nil` |
| `image.registry` | MongoDB® image registry | `docker.io` |
| `image.repository` | MongoDB® image name | `bitnami/mongodb` |

View File

@@ -0,0 +1,4 @@
{{- range .Values.extraDeploy }}
---
{{ include "common.tplvalues.render" (dict "value" . "context" $) }}
{{- end }}

View File

@@ -48,11 +48,14 @@ image:
##
clusterDomain: cluster.local
## Extra objects to deploy (value evaluated as a template)
##
extraDeploy: []
## Common annotations to add to all Mongo resources (sub-charts are not considered). Evaluated as a template
##
commonAnnotations: {}
## Use an alternate scheduler, e.g. "stork".
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
##