1 ## Global Docker image parameters
2 ## Please, note that this will override the image parameters, including dependencies, configured to use the global value
3 ## Current available global Docker image parameters: imageRegistry and imagePullSecrets
6 # imageRegistry: myRegistryName
8 # - myRegistryKeySecretName
9 # storageClass: myStorageClass
12 ## Bitnami MongoDB registry
15 ## Bitnami MongoDB image name
17 repository: bitnami/mongodb
18 ## Bitnami MongoDB image tag
19 ## ref: https://hub.docker.com/r/bitnami/mongodb/tags/
21 tag: 4.2.4-debian-10-r0
22 ## Specify a imagePullPolicy
23 ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
25 pullPolicy: IfNotPresent
26 ## Optionally specify an array of imagePullSecrets.
27 ## Secrets must be manually created in the namespace.
28 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
31 # - myRegistryKeySecretName
33 ## Set to true if you would like to see extra information on logs
34 ## It turns on Bitnami debugging in minideb-extras-base
35 ## ref: https://github.com/bitnami/minideb-extras-base
38 ## String to partially override mongodb.fullname template (will maintain the release name)
42 ## String to fully override mongodb.fullname template
46 # Add custom extra environment variables to all the MongoDB containers
49 ## Init containers parameters:
50 ## volumePermissions: Change the owner and group of the persistent volume mountpoint to runAsUser:fsGroup values from the securityContext section.
56 repository: bitnami/minideb
59 ## Optionally specify an array of imagePullSecrets.
60 ## Secrets must be manually created in the namespace.
61 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
64 # - myRegistryKeySecretName
67 ## Enable authentication
68 ## ref: https://docs.mongodb.com/manual/tutorial/enable-authentication/
71 # existingSecret: name-of-existing-secret
73 ## MongoDB admin password
74 ## ref: https://github.com/bitnami/bitnami-docker-mongodb/blob/master/README.md#setting-the-root-password-on-first-run
76 # mongodbRootPassword:
78 ## MongoDB custom user and database
79 ## ref: https://github.com/bitnami/bitnami-docker-mongodb/blob/master/README.md#creating-a-user-and-database-on-first-run
81 # mongodbUsername: username
82 # mongodbPassword: password
83 # mongodbDatabase: database
85 ## Whether enable/disable IPv6 on MongoDB
86 ## ref: https://github.com/bitnami/bitnami-docker-mongodb/blob/master/README.md#enabling/disabling-ipv6
88 mongodbEnableIPv6: false
90 ## Whether enable/disable DirectoryPerDB on MongoDB
91 ## ref: https://github.com/bitnami/bitnami-docker-mongodb/blob/master/README.md#enabling/disabling-directoryperdb
93 mongodbDirectoryPerDB: false
95 ## MongoDB System Log configuration
96 ## ref: https://github.com/bitnami/bitnami-docker-mongodb#configuring-system-log-verbosity-level
98 mongodbSystemLogVerbosity: 0
99 mongodbDisableSystemLog: false
101 ## MongoDB additional command line flags
103 ## Can be used to specify command line flags, for example:
105 ## mongodbExtraFlags:
106 ## - "--wiredTigerCacheSizeGB=2"
107 mongodbExtraFlags: []
109 ## Pod Security Context
110 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
117 ## Kubernetes Cluster Domain
118 clusterDomain: cluster.local
120 ## Kubernetes service type
122 ## Specify an explicit service name.
124 ## Provide any additional annotations which may be required.
125 ## The value is evaluated as a template, so, for example, the value can depend on .Release or .Chart
131 ## Specify the nodePort value for the LoadBalancer and NodePort service types.
132 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
136 ## Specify the externalIP value ClusterIP service type.
137 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#external-ips
140 ## Specify the loadBalancerIP value for LoadBalancer service types.
141 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer
145 ## Specify the loadBalancerSourceRanges value for LoadBalancer service types.
146 ## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
148 # loadBalancerSourceRanges: []
150 ## Use StatefulSet instead of Deployment when deploying standalone
151 useStatefulSet: false
153 ## Setting up replication
154 ## ref: https://github.com/bitnami/bitnami-docker-mongodb#setting-up-a-replication
157 ## Whether to create a MongoDB replica set for high availability or not
161 ## Name of the replica set
165 ## Key used for replica set authentication
169 ## Number of replicas per each node type
175 ## Pod Disruption Budget
176 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/
186 # Annotations to be added to the deployment or statefulsets
189 # Additional labels to apply to the deployment or statefulsets
192 # Annotations to be added to MongoDB pods
195 # Additional pod labels to apply
198 ## Use an alternate scheduler, e.g. "stork".
199 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
203 ## Configure resource requests and limits
204 ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
207 # Define separate resources per arbiter, which are less then primary or secondary
208 # used only when replica set is enabled
218 ## https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
219 # priorityClassName: ""
222 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
226 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
228 # Define separate affinity for arbiter pod
232 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
235 ## Add sidecars to the pod
239 ## - name: your-image-name
241 ## imagePullPolicy: Always
244 ## containerPort: 1234
246 ## Array to add extra volumes
249 ## Array to add extra mounts (normally used with extraVolumes)
251 extraVolumeMounts: []
253 ## Add sidecars to the arbiter pod
254 # used only when replica set is enabled
258 ## - name: your-image-name
260 ## imagePullPolicy: Always
263 ## containerPort: 1234
265 ## Array to add extra volumes to the arbiter
266 # used only when replica set is enabled
268 extraVolumesArbiter: []
269 ## Array to add extra mounts (normally used with extraVolumes) to the arbiter
270 # used only when replica set is enabled
272 extraVolumeMountsArbiter: []
274 ## updateStrategy for MongoDB Primary, Secondary and Arbitrer statefulsets
275 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
279 ## Enable persistence using Persistent Volume Claims
280 ## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
284 ## A manually managed Persistent Volume and Claim
285 ## Requires persistence.enabled: true
286 ## If defined, PVC must be created manually before volume will be bound
290 ## The path the volume will be mounted at, useful when using different
293 mountPath: /bitnami/mongodb
295 ## The subdirectory of the volume to mount to, useful in dev environments
296 ## and one PV for multiple services.
300 ## mongodb data Persistent Volume Storage Class
301 ## If defined, storageClassName: <storageClass>
302 ## If set to "-", storageClassName: "", which disables dynamic provisioning
303 ## If undefined (the default) or set to null, no storageClassName spec is
304 ## set, choosing the default provisioner. (gp2 on AWS, standard on
305 ## GKE, AWS & OpenStack)
313 ## Configure the ingress resource that allows you to access the
314 ## MongoDB installation. Set up the URL
315 ## ref: http://kubernetes.io/docs/user-guide/ingress/
318 ## Set to true to enable ingress record generation
321 ## Set this to true in order to add the corresponding annotations for cert-manager
324 ## Ingress annotations done as key:value pairs
325 ## For a full list of possible ingress annotations, please see
326 ## ref: https://github.com/kubernetes/ingress-nginx/blob/master/docs/user-guide/nginx-configuration/annotations.md
328 ## If tls is set to true, annotation ingress.kubernetes.io/secure-backends: "true" will automatically be set
329 ## If certManager is set to true, annotation kubernetes.io/tls-acme: "true" will automatically be set
331 # kubernetes.io/ingress.class: nginx
333 ## The list of hostnames to be covered with this ingress record.
334 ## Most likely this will be just one host, but in the event more hosts are needed, this is an array
336 - name: mongodb.local
339 ## The tls configuration for the ingress
340 ## see: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
344 secretName: mongodb.local-tls
347 ## If you're providing your own certificates, please use this to add the certificates as secrets
348 ## key and certificate should start with -----BEGIN CERTIFICATE----- or
349 ## -----BEGIN RSA PRIVATE KEY-----
351 ## name should line up with a tlsSecret set further up
352 ## If you're using cert-manager, this is unneeded, as it will create the secret for you if it is not set
354 ## It is also possible to create and manage the certificates outside of this helm chart
355 ## Please see README.md for more information
356 # - name: airflow.local-tls
360 ## Configure the options for init containers to be run before the main app containers
361 ## are started. All init containers are run sequentially and must exit without errors
362 ## for the next one to be started.
363 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
364 # extraInitContainers: |
365 # - name: do-something
367 # command: ['do', 'something']
369 ## Configure extra options for liveness and readiness probes
370 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes)
373 initialDelaySeconds: 30
380 initialDelaySeconds: 5
386 # Define custom config map with init scripts
388 # name: "init-config-map"
390 ## Entries for the MongoDB config file. For documentation of all options, see:
391 ## http://docs.mongodb.org/manual/reference/configuration-options/
394 # # where and how to store data.
396 # dbPath: /bitnami/mongodb/data/db
399 # directoryPerDB: false
400 # # where to write logging data.
406 # path: /opt/bitnami/mongodb/logs/mongodb.log
408 # # network interfaces
413 # pathPrefix: /opt/bitnami/mongodb/tmp
416 # # replica set options
418 # #replSetName: replicaset
419 # #enableMajorityReadConcern: true
420 # # process management options
423 # pidFilePath: /opt/bitnami/mongodb/tmp/mongodb.pid
424 # # set parameter options
426 # enableLocalhostAuthBypass: true
429 # authorization: disabled
430 # #keyFile: /opt/bitnami/mongodb/conf/keyfile
432 ## Prometheus Exporter / Metrics
439 repository: bitnami/mongodb-exporter
440 tag: 0.10.0-debian-10-r41
441 pullPolicy: IfNotPresent
442 ## Optionally specify an array of imagePullSecrets.
443 ## Secrets must be manually created in the namespace.
444 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
447 # - myRegistryKeySecretName
449 ## String with extra arguments to the metrics exporter
450 ## ref: https://github.com/percona/mongodb_exporter/blob/master/mongodb_exporter.go
453 ## Metrics exporter resource requests and limits
454 ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
458 ## Metrics exporter liveness and readiness probes
459 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes)
462 initialDelaySeconds: 15
469 initialDelaySeconds: 5
475 ## Metrics exporter pod Annotation
477 prometheus.io/scrape: "true"
478 prometheus.io/port: "9216"
480 ## Prometheus Service Monitor
481 ## ref: https://github.com/coreos/prometheus-operator
482 ## https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md
484 ## If the operator is installed in your cluster, set to true to create a Service Monitor Entry
487 ## Specify a namespace if needed
488 # namespace: monitoring
490 ## Used to pass Labels that are used by the Prometheus installed in your cluster to select Service Monitors to work with
491 ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#prometheusspec
494 ## Specify Metric Relabellings to add to the scrape endpoint
495 ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
499 ## Define individual alerting rules as required
500 ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#rulegroup
501 ## https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/
504 ## Used to pass Labels that are used by the Prometheus installed in your cluster to select Prometheus Rules to work with
505 ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#prometheusspec