updating unused values on config files with default values
[it/otf.git] / otf-helm / otf / charts / databases / mongodb / values.yaml
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
4 ##
5 # global:
6 #   imageRegistry: myRegistryName
7 #   imagePullSecrets:
8 #     - myRegistryKeySecretName
9 #   storageClass: myStorageClass
10 namespace: 
11 image:
12   ## Bitnami MongoDB registry
13   ##
14   registry: docker.io
15   ## Bitnami MongoDB image name
16   ##
17   repository: bitnami/mongodb
18   ## Bitnami MongoDB image tag
19   ## ref: https://hub.docker.com/r/bitnami/mongodb/tags/
20   ##
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
25   ##
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/
30   ##
31   # pullSecrets:
32   #   - myRegistryKeySecretName
33
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
37   debug: false
38
39 ## String to partially override mongodb.fullname template (will maintain the release name)
40 ##
41 # nameOverride:
42
43 ## String to fully override mongodb.fullname template
44 ##
45 # fullnameOverride:
46
47 ## Init containers parameters:
48 ## volumePermissions: Change the owner and group of the persistent volume mountpoint to runAsUser:fsGroup values from the securityContext section.
49 ##
50 volumePermissions:
51   enabled: false
52   image:
53     registry: docker.io
54     repository: bitnami/minideb
55     tag: buster
56     pullPolicy: Always
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/
60     ##
61     # pullSecrets:
62     #   - myRegistryKeySecretName
63   resources: {}
64
65 ## Enable authentication
66 ## ref: https://docs.mongodb.com/manual/tutorial/enable-authentication/
67 #
68 usePassword: true
69 # existingSecret: mongodb
70
71 ## MongoDB admin password
72 ## ref: https://github.com/bitnami/bitnami-docker-mongodb/blob/master/README.md#setting-the-root-password-on-first-run
73 ##
74 mongodbRootPassword: otf.123
75
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
78 ##
79 mongodbUsername: your-mongo-username
80 mongodbPassword: your-mongo-password
81 mongodbDatabase: otf
82 mongodbIP: ""
83
84 ## Whether enable/disable IPv6 on MongoDB
85 ## ref: https://github.com/bitnami/bitnami-docker-mongodb/blob/master/README.md#enabling/disabling-ipv6
86 ##
87 mongodbEnableIPv6: false
88
89 ## Whether enable/disable DirectoryPerDB on MongoDB
90 ## ref: https://github.com/bitnami/bitnami-docker-mongodb/blob/master/README.md#enabling/disabling-directoryperdb
91 ##
92 mongodbDirectoryPerDB: false
93
94 ## MongoDB System Log configuration
95 ## ref: https://github.com/bitnami/bitnami-docker-mongodb#configuring-system-log-verbosity-level
96 ##
97 mongodbSystemLogVerbosity: 0
98 mongodbDisableSystemLog: false
99
100 ## MongoDB additional command line flags
101 ##
102 ## Can be used to specify command line flags, for example:
103 ##
104 ## mongodbExtraFlags:
105 ##  - "--wiredTigerCacheSizeGB=2"
106 mongodbExtraFlags: ["--bind_ip 0.0.0.0"]
107
108 ## Pod Security Context
109 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
110 ##
111 securityContext:
112   enabled: true
113   fsGroup: 1001
114   runAsUser: 1001
115
116 ## Kubernetes Cluster Domain
117 clusterDomain: cluster.local
118
119 ## Kubernetes service type
120 service:
121   ## Specify an explicit service name.
122   # name: svc-mongo
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
125   annotations: {}
126   type: ClusterIP
127   # clusterIP: None
128   port: 27017
129
130   ## Specify the nodePort value for the LoadBalancer and NodePort service types.
131   ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
132   ##
133   # nodePort:
134
135   ## Specify the externalIP value ClusterIP service type.
136   ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#external-ips
137   # externalIPs: []
138
139   ## Specify the loadBalancerIP value for LoadBalancer service types.
140   ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer
141   ##
142   # loadBalancerIP:
143
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
146   ##
147   # loadBalancerSourceRanges: []
148
149 # Add custom extra environment variables to all the MongoDB containers
150 # extraEnvVars:
151
152 ## Use StatefulSet instead of Deployment when deploying standalone
153 useStatefulSet: false
154
155 ## Setting up replication
156 ## ref: https://github.com/bitnami/bitnami-docker-mongodb#setting-up-a-replication
157 #
158 replicaSet:
159   ## Whether to create a MongoDB replica set for high availability or not
160   enabled: true
161   useHostnames: false
162
163   ## Name of the replica set
164   ##
165   name: rs0
166
167   ## Key used for replica set authentication
168   ##
169   # key: key
170
171   ## Number of replicas per each node type
172   ##
173   replicas:
174     secondary: 1
175     arbiter: 1
176
177   ## Pod Disruption Budget
178   ## ref: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/
179   pdb:
180     enabled: true
181     minAvailable:
182       primary: 1
183       secondary: 1
184       arbiter: 1
185     # maxUnavailable:
186       # primary: 1
187       # secondary: 1
188       # arbiter: 1
189
190 # Annotations to be added to the deployment or statefulsets
191 annotations: {}
192
193 # Additional labels to apply to the deployment or statefulsets
194 labels: {}
195
196 # Annotations to be added to MongoDB pods
197 podAnnotations: {}
198
199 # Additional pod labels to apply
200 podLabels: {}
201
202 ## Use an alternate scheduler, e.g. "stork".
203 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
204 ##
205 # schedulerName:
206
207 ## Configure resource requests and limits
208 ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
209 ##
210 resources: {}
211 # Define separate resources per arbiter, which are less then primary or secondary
212 # used only when replica set is enabled
213 resourcesArbiter: {}
214 # limits:
215 #   cpu: 500m
216 #   memory: 512Mi
217 # requests:
218 #   cpu: 100m
219 #   memory: 256Mi
220
221 ## Pod priority
222 ## https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
223 # priorityClassName: ""
224
225 ## Node selector
226 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
227 nodeSelector: {}
228
229 ## Affinity
230 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
231 affinity: {}
232 # Define separate affinity for arbiter pod
233 affinityArbiter: {}
234
235 ## Tolerations
236 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
237 tolerations: []
238
239 ## updateStrategy for MongoDB Primary, Secondary and Arbitrer statefulsets
240 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
241 updateStrategy:
242   type: RollingUpdate
243
244 ## Add sidecars to the pod
245 ##
246 ## For example:
247 ## sidecars:
248 ##   - name: your-image-name
249 ##     image: your-image
250 ##     imagePullPolicy: Always
251 ##     ports:
252 ##       - name: portname
253 ##         containerPort: 1234
254 sidecars: []
255 ## Array to add extra volumes
256 ##
257 extraVolumes: []
258 ## Array to add extra mounts (normally used with extraVolumes)
259 ##
260 extraVolumeMounts: []
261
262 ## Add sidecars to the arbiter pod
263 # used only when replica set is enabled
264 ##
265 ## For example:
266 ## sidecars:
267 ##   - name: your-image-name
268 ##     image: your-image
269 ##     imagePullPolicy: Always
270 ##     ports:
271 ##       - name: portname
272 ##         containerPort: 1234
273 sidecarsArbiter: []
274 ## Array to add extra volumes to the arbiter
275 # used only when replica set is enabled
276 ##
277 extraVolumesArbiter: []
278 ## Array to add extra mounts (normally used with extraVolumes) to the arbiter
279 # used only when replica set is enabled
280 ##
281 extraVolumeMountsArbiter: []
282
283 ## Enable persistence using Persistent Volume Claims
284 ## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
285 ##
286 persistence:
287   enabled: true
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
291   ##
292   # existingClaim:
293
294   ## The path the volume will be mounted at, useful when using different
295   ## MongoDB images.
296   ##
297   mountPath: /bitnami/mongodb
298
299   ## The subdirectory of the volume to mount to, useful in dev environments
300   ## and one PV for multiple services.
301   ##
302   subPath: ""
303
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)
310   ##
311   # storageClass: "-"
312   accessModes:
313     - ReadWriteOnce
314   size: 8Gi
315   annotations: {}
316
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/
320 ##
321 ingress:
322   ## Set to true to enable ingress record generation
323   enabled: false
324
325   ## Set this to true in order to add the corresponding annotations for cert-manager
326   certManager: false
327
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
331   ##
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
334   annotations:
335   #  kubernetes.io/ingress.class: nginx
336
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
339   hosts:
340   - name: mongodb.local
341     path: /
342
343   ## The tls configuration for the ingress
344   ## see: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
345   tls:
346   - hosts:
347       - mongodb.local
348     secretName: mongodb.local-tls
349
350   secrets:
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-----
354   ##
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
357   ##
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
361   #   key:
362   #   certificate:
363
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
370 #     image: busybox
371 #     command: ['do', 'something']
372
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)
375 livenessProbe:
376   enabled: true
377   initialDelaySeconds: 30
378   periodSeconds: 10
379   timeoutSeconds: 5
380   failureThreshold: 6
381   successThreshold: 1
382 readinessProbe:
383   enabled: true
384   initialDelaySeconds: 5
385   periodSeconds: 10
386   timeoutSeconds: 5
387   failureThreshold: 6
388   successThreshold: 1
389
390 # Define custom config map with init scripts
391 initConfigMap: {}
392 #  name: "init-config-map"
393
394 ## Entries for the MongoDB config file. For documentation of all options, see:
395 ##   http://docs.mongodb.org/manual/reference/configuration-options/
396 ##
397 configmap:
398 #  # where and how to store data.
399 #  storage:
400 #    dbPath: /bitnami/mongodb/data/db
401 #    journal:
402 #      enabled: true
403 #    directoryPerDB: false
404 #  # where to write logging data.
405 #  systemLog:
406 #    destination: file
407 #    quiet: false
408 #    logAppend: true
409 #    logRotate: reopen
410 #    path: /opt/bitnami/mongodb/logs/mongodb.log
411 #    verbosity: 0
412 #  # network interfaces
413 #  net:
414 #    port: 27017
415 #    unixDomainSocket:
416 #      enabled: true
417 #      pathPrefix: /opt/bitnami/mongodb/tmp
418 #    ipv6: false
419 #    bindIpAll: true
420 #  # replica set options
421 #  #replication:
422 #    #replSetName: replicaset
423 #    #enableMajorityReadConcern: true
424 #  # process management options
425 #  processManagement:
426 #     fork: false
427 #     pidFilePath: /opt/bitnami/mongodb/tmp/mongodb.pid
428 #  # set parameter options
429 #  setParameter:
430 #     enableLocalhostAuthBypass: true
431 #  # security options
432 #  security:
433 #    authorization: disabled
434 #    #keyFile: /opt/bitnami/mongodb/conf/keyfile
435
436 ## Prometheus Exporter / Metrics
437 ##
438 metrics:
439   enabled: false
440
441   image:
442     registry: docker.io
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/
449     ##
450     # pullSecrets:
451     #   - myRegistryKeySecretName
452
453   ## String with extra arguments to the metrics exporter
454   ## ref: https://github.com/percona/mongodb_exporter/blob/master/mongodb_exporter.go
455   extraArgs: ""
456
457   ## Metrics exporter resource requests and limits
458   ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
459   ##
460   # resources: {}
461
462   ## Metrics exporter liveness and readiness probes
463   ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes)
464   livenessProbe:
465     enabled: false
466     initialDelaySeconds: 15
467     periodSeconds: 5
468     timeoutSeconds: 5
469     failureThreshold: 3
470     successThreshold: 1
471   readinessProbe:
472     enabled: false
473     initialDelaySeconds: 5
474     periodSeconds: 5
475     timeoutSeconds: 1
476     failureThreshold: 3
477     successThreshold: 1
478
479   ## Metrics exporter pod Annotation
480   podAnnotations:
481     prometheus.io/scrape: "true"
482     prometheus.io/port: "9216"
483
484   ## Prometheus Service Monitor
485   ## ref: https://github.com/coreos/prometheus-operator
486   ##      https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md
487   serviceMonitor:
488     ## If the operator is installed in your cluster, set to true to create a Service Monitor Entry
489     enabled: false
490
491     ## Specify a namespace if needed
492     # namespace: monitoring
493     namespace: dev
494
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
497     additionalLabels: {}
498
499     ## Specify Metric Relabellings to add to the scrape endpoint
500     ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
501     # relabellings:
502
503     alerting:
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/
507       rules: {}
508
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
511       additionalLabels: {}