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 #tag: 4.1.13-debian-9-r74
23 ## Specify a imagePullPolicy
24 ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
26 pullPolicy: IfNotPresent
27 ## Optionally specify an array of imagePullSecrets.
28 ## Secrets must be manually created in the namespace.
29 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
32 # - myRegistryKeySecretName
34 ## Set to true if you would like to see extra information on logs
35 ## It turns on Bitnami debugging in minideb-extras-base
36 ## ref: https://github.com/bitnami/minideb-extras-base
39 ## String to partially override mongodb.fullname template (will maintain the release name)
43 ## String to fully override mongodb.fullname template
47 ## Init containers parameters:
48 ## volumePermissions: Change the owner and group of the persistent volume mountpoint to runAsUser:fsGroup values from the securityContext section.
54 repository: bitnami/minideb
57 ## Optionally specify an array of imagePullSecrets.
58 ## Secrets must be manually created in the namespace.
59 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
62 # - myRegistryKeySecretName
65 ## Enable authentication
66 ## ref: https://docs.mongodb.com/manual/tutorial/enable-authentication/
69 # existingSecret: mongodb
71 ## MongoDB admin password
72 ## ref: https://github.com/bitnami/bitnami-docker-mongodb/blob/master/README.md#setting-the-root-password-on-first-run
74 mongodbRootPassword: root-password
76 ## MongoDB custom user and database
77 ## ref: https://github.com/bitnami/bitnami-docker-mongodb/blob/master/README.md#creating-a-user-and-database-on-first-run
79 mongodbUsername: your-mongo-username
80 mongodbPassword: your-mongo-password
84 ## Whether enable/disable IPv6 on MongoDB
85 ## ref: https://github.com/bitnami/bitnami-docker-mongodb/blob/master/README.md#enabling/disabling-ipv6
87 mongodbEnableIPv6: false
89 ## Whether enable/disable DirectoryPerDB on MongoDB
90 ## ref: https://github.com/bitnami/bitnami-docker-mongodb/blob/master/README.md#enabling/disabling-directoryperdb
92 mongodbDirectoryPerDB: false
94 ## MongoDB System Log configuration
95 ## ref: https://github.com/bitnami/bitnami-docker-mongodb#configuring-system-log-verbosity-level
97 mongodbSystemLogVerbosity: 0
98 mongodbDisableSystemLog: false
100 ## MongoDB additional command line flags
102 ## Can be used to specify command line flags, for example:
104 ## mongodbExtraFlags:
105 ## - "--wiredTigerCacheSizeGB=2"
106 mongodbExtraFlags: ["--bind_ip 0.0.0.0"]
108 ## Pod Security Context
109 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
116 ## Kubernetes Cluster Domain
117 clusterDomain: cluster.local
119 ## Kubernetes service type
121 ## Specify an explicit service name.
123 ## Provide any additional annotations which may be required.
124 ## The value is evaluated as a template, so, for example, the value can depend on .Release or .Chart
130 ## Specify the nodePort value for the LoadBalancer and NodePort service types.
131 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
135 ## Specify the externalIP value ClusterIP service type.
136 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#external-ips
139 ## Specify the loadBalancerIP value for LoadBalancer service types.
140 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer
144 ## Specify the loadBalancerSourceRanges value for LoadBalancer service types.
145 ## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
147 # loadBalancerSourceRanges: []
149 # Add custom extra environment variables to all the MongoDB containers
152 ## Use StatefulSet instead of Deployment when deploying standalone
153 useStatefulSet: false
155 ## Setting up replication
156 ## ref: https://github.com/bitnami/bitnami-docker-mongodb#setting-up-a-replication
159 ## Whether to create a MongoDB replica set for high availability or not
163 ## Name of the replica set
167 ## Key used for replica set authentication
171 ## Number of replicas per each node type
177 ## Pod Disruption Budget
178 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/
190 # Annotations to be added to the deployment or statefulsets
193 # Additional labels to apply to the deployment or statefulsets
196 # Annotations to be added to MongoDB pods
199 # Additional pod labels to apply
202 ## Use an alternate scheduler, e.g. "stork".
203 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
207 ## Configure resource requests and limits
208 ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
211 # Define separate resources per arbiter, which are less then primary or secondary
212 # used only when replica set is enabled
222 ## https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
223 # priorityClassName: ""
226 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
230 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
232 # Define separate affinity for arbiter pod
236 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
239 ## updateStrategy for MongoDB Primary, Secondary and Arbitrer statefulsets
240 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
244 ## Add sidecars to the pod
248 ## - name: your-image-name
250 ## imagePullPolicy: Always
253 ## containerPort: 1234
255 ## Array to add extra volumes
258 ## Array to add extra mounts (normally used with extraVolumes)
260 extraVolumeMounts: []
262 ## Add sidecars to the arbiter pod
263 # used only when replica set is enabled
267 ## - name: your-image-name
269 ## imagePullPolicy: Always
272 ## containerPort: 1234
274 ## Array to add extra volumes to the arbiter
275 # used only when replica set is enabled
277 extraVolumesArbiter: []
278 ## Array to add extra mounts (normally used with extraVolumes) to the arbiter
279 # used only when replica set is enabled
281 extraVolumeMountsArbiter: []
283 ## Enable persistence using Persistent Volume Claims
284 ## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
288 ## A manually managed Persistent Volume and Claim
289 ## Requires persistence.enabled: true
290 ## If defined, PVC must be created manually before volume will be bound
294 ## The path the volume will be mounted at, useful when using different
297 mountPath: /bitnami/mongodb
299 ## The subdirectory of the volume to mount to, useful in dev environments
300 ## and one PV for multiple services.
304 ## mongodb data Persistent Volume Storage Class
305 ## If defined, storageClassName: <storageClass>
306 ## If set to "-", storageClassName: "", which disables dynamic provisioning
307 ## If undefined (the default) or set to null, no storageClassName spec is
308 ## set, choosing the default provisioner. (gp2 on AWS, standard on
309 ## GKE, AWS & OpenStack)
317 ## Configure the ingress resource that allows you to access the
318 ## MongoDB installation. Set up the URL
319 ## ref: http://kubernetes.io/docs/user-guide/ingress/
322 ## Set to true to enable ingress record generation
325 ## Set this to true in order to add the corresponding annotations for cert-manager
328 ## Ingress annotations done as key:value pairs
329 ## For a full list of possible ingress annotations, please see
330 ## ref: https://github.com/kubernetes/ingress-nginx/blob/master/docs/user-guide/nginx-configuration/annotations.md
332 ## If tls is set to true, annotation ingress.kubernetes.io/secure-backends: "true" will automatically be set
333 ## If certManager is set to true, annotation kubernetes.io/tls-acme: "true" will automatically be set
335 # kubernetes.io/ingress.class: nginx
337 ## The list of hostnames to be covered with this ingress record.
338 ## Most likely this will be just one host, but in the event more hosts are needed, this is an array
340 - name: mongodb.local
343 ## The tls configuration for the ingress
344 ## see: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
348 secretName: mongodb.local-tls
351 ## If you're providing your own certificates, please use this to add the certificates as secrets
352 ## key and certificate should start with -----BEGIN CERTIFICATE----- or
353 ## -----BEGIN RSA PRIVATE KEY-----
355 ## name should line up with a tlsSecret set further up
356 ## If you're using cert-manager, this is unneeded, as it will create the secret for you if it is not set
358 ## It is also possible to create and manage the certificates outside of this helm chart
359 ## Please see README.md for more information
360 # - name: airflow.local-tls
364 ## Configure the options for init containers to be run before the main app containers
365 ## are started. All init containers are run sequentially and must exit without errors
366 ## for the next one to be started.
367 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
368 # extraInitContainers: |
369 # - name: do-something
371 # command: ['do', 'something']
373 ## Configure extra options for liveness and readiness probes
374 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes)
377 initialDelaySeconds: 30
384 initialDelaySeconds: 5
390 # Define custom config map with init scripts
392 # name: "init-config-map"
394 ## Entries for the MongoDB config file. For documentation of all options, see:
395 ## http://docs.mongodb.org/manual/reference/configuration-options/
398 # # where and how to store data.
400 # dbPath: /bitnami/mongodb/data/db
403 # directoryPerDB: false
404 # # where to write logging data.
410 # path: /opt/bitnami/mongodb/logs/mongodb.log
412 # # network interfaces
417 # pathPrefix: /opt/bitnami/mongodb/tmp
420 # # replica set options
422 # #replSetName: replicaset
423 # #enableMajorityReadConcern: true
424 # # process management options
427 # pidFilePath: /opt/bitnami/mongodb/tmp/mongodb.pid
428 # # set parameter options
430 # enableLocalhostAuthBypass: true
433 # authorization: disabled
434 # #keyFile: /opt/bitnami/mongodb/conf/keyfile
436 ## Prometheus Exporter / Metrics
443 repository: bitnami/mongodb-exporter
444 tag: 0.10.0-debian-10-r41
445 pullPolicy: IfNotPresent
446 ## Optionally specify an array of imagePullSecrets.
447 ## Secrets must be manually created in the namespace.
448 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
451 # - myRegistryKeySecretName
453 ## String with extra arguments to the metrics exporter
454 ## ref: https://github.com/percona/mongodb_exporter/blob/master/mongodb_exporter.go
457 ## Metrics exporter resource requests and limits
458 ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
462 ## Metrics exporter liveness and readiness probes
463 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes)
466 initialDelaySeconds: 15
473 initialDelaySeconds: 5
479 ## Metrics exporter pod Annotation
481 prometheus.io/scrape: "true"
482 prometheus.io/port: "9216"
484 ## Prometheus Service Monitor
485 ## ref: https://github.com/coreos/prometheus-operator
486 ## https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md
488 ## If the operator is installed in your cluster, set to true to create a Service Monitor Entry
491 ## Specify a namespace if needed
492 # namespace: monitoring
495 ## Used to pass Labels that are used by the Prometheus installed in your cluster to select Service Monitors to work with
496 ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#prometheusspec
499 ## Specify Metric Relabellings to add to the scrape endpoint
500 ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
504 ## Define individual alerting rules as required
505 ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#rulegroup
506 ## https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/
509 ## Used to pass Labels that are used by the Prometheus installed in your cluster to select Prometheus Rules to work with
510 ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#prometheusspec