804031f35e8f3a7c5b95fbf7ec64a2c85d702f7b
[it/otf.git] / otf-helm / otf / charts / databases / charts / mongodb / values.yaml
1 # Values yaml file for reference from the github. - currently not used.\r
2 \r
3 ## Global Docker image parameters\r
4 ## Please, note that this will override the image parameters, including dependencies, configured to use the global value\r
5 ## Current available global Docker image parameters: imageRegistry and imagePullSecrets\r
6 ##\r
7 # global:\r
8 #   imageRegistry: myRegistryName\r
9 #   imagePullSecrets:\r
10 #     - myRegistryKeySecretName\r
11 #   storageClass: myStorageClass\r
12 \r
13 image:\r
14   ## Bitnami MongoDB registry\r
15   ##\r
16   registry: docker.io\r
17   ## Bitnami MongoDB image name\r
18   ##\r
19   repository: bitnami/mongodb\r
20   ## Bitnami MongoDB image tag\r
21   ## ref: https://hub.docker.com/r/bitnami/mongodb/tags/\r
22   ##\r
23   tag: 4.2.6-debian-10-r18\r
24   ## Specify a imagePullPolicy\r
25   ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images\r
26   ##\r
27   pullPolicy: IfNotPresent\r
28   ## Optionally specify an array of imagePullSecrets.\r
29   ## Secrets must be manually created in the namespace.\r
30   ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/\r
31   ##\r
32   # pullSecrets:\r
33   #   - myRegistryKeySecretName\r
34 \r
35   ## Set to true if you would like to see extra information on logs\r
36   ## It turns on Bitnami debugging in minideb-extras-base\r
37   ## ref:  https://github.com/bitnami/minideb-extras-base\r
38   debug: false\r
39 \r
40 ## String to partially override mongodb.fullname template (will maintain the release name)\r
41 ##\r
42 # nameOverride: otf-mongo\r
43 \r
44 ## String to fully override mongodb.fullname template\r
45 ##\r
46 # fullnameOverride:\r
47 \r
48 ## Init containers parameters:\r
49 ## volumePermissions: Change the owner and group of the persistent volume mountpoint to runAsUser:fsGroup values from the securityContext section.\r
50 ##\r
51 volumePermissions:\r
52   enabled: false\r
53   image:\r
54     registry: docker.io\r
55     repository: bitnami/minideb\r
56     tag: buster\r
57     pullPolicy: Always\r
58     ## Optionally specify an array of imagePullSecrets.\r
59     ## Secrets must be manually created in the namespace.\r
60     ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/\r
61     ##\r
62     # pullSecrets:\r
63     #   - myRegistryKeySecretName\r
64   resources: {}\r
65 \r
66 ## Enable authentication\r
67 ## ref: https://docs.mongodb.com/manual/tutorial/enable-authentication/\r
68 #\r
69 usePassword: true\r
70 # existingSecret: name-of-existing-secret\r
71 \r
72 ## MongoDB admin password\r
73 ## ref: https://github.com/bitnami/bitnami-docker-mongodb/blob/master/README.md#setting-the-root-password-on-first-run\r
74 ##\r
75 mongodbRootPassword: otf.123\r
76 \r
77 ## MongoDB custom user and database\r
78 ## ref: https://github.com/bitnami/bitnami-docker-mongodb/blob/master/README.md#creating-a-user-and-database-on-first-run\r
79 ##\r
80 mongodbUsername: otfuser\r
81 mongodbPassword: Today.123\r
82 mongodbDatabase: otf\r
83 \r
84 ## Whether enable/disable IPv6 on MongoDB\r
85 ## ref: https://github.com/bitnami/bitnami-docker-mongodb/blob/master/README.md#enabling/disabling-ipv6\r
86 ##\r
87 mongodbEnableIPv6: false\r
88 \r
89 ## Whether enable/disable DirectoryPerDB on MongoDB\r
90 ## ref: https://github.com/bitnami/bitnami-docker-mongodb/blob/master/README.md#enabling/disabling-directoryperdb\r
91 ##\r
92 mongodbDirectoryPerDB: false\r
93 \r
94 ## MongoDB System Log configuration\r
95 ## ref: https://github.com/bitnami/bitnami-docker-mongodb#configuring-system-log-verbosity-level\r
96 ##\r
97 mongodbSystemLogVerbosity: 0\r
98 mongodbDisableSystemLog: false\r
99 \r
100 ## MongoDB additional command line flags\r
101 ##\r
102 ## Can be used to specify command line flags, for example:\r
103 ##\r
104 ## mongodbExtraFlags:\r
105 ##  - "--wiredTigerCacheSizeGB=2"\r
106 mongodbExtraFlags: []\r
107 \r
108 ## Pod Security Context\r
109 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/\r
110 ##\r
111 securityContext:\r
112   enabled: true\r
113   fsGroup: 1001\r
114   runAsUser: 1001\r
115 \r
116 ## Kubernetes Cluster Domain\r
117 clusterDomain: cluster.local\r
118 \r
119 ## Kubernetes service type\r
120 service:\r
121   ## Specify an explicit service name.\r
122   # name: svc-mongo\r
123   ## Provide any additional annotations which may be required.\r
124   ## The value is evaluated as a template, so, for example, the value can depend on .Release or .Chart\r
125   annotations: {}\r
126   type: ClusterIP\r
127   # clusterIP: None\r
128   port: 27017\r
129 \r
130   ## Specify the nodePort value for the LoadBalancer and NodePort service types.\r
131   ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport\r
132   ##\r
133   # nodePort:\r
134 \r
135   ## Specify the externalIP value ClusterIP service type.\r
136   ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#external-ips\r
137   # externalIPs: []\r
138 \r
139   ## Specify the loadBalancerIP value for LoadBalancer service types.\r
140   ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer\r
141   ##\r
142   # loadBalancerIP:\r
143 \r
144   ## Specify the loadBalancerSourceRanges value for LoadBalancer service types.\r
145   ## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service\r
146   ##\r
147   # loadBalancerSourceRanges: []\r
148 \r
149 # Add custom extra environment variables to all the MongoDB containers\r
150 # extraEnvVars:\r
151 \r
152 ## Use StatefulSet instead of Deployment when deploying standalone\r
153 useStatefulSet: false\r
154 \r
155 ## Setting up replication\r
156 ## ref: https://github.com/bitnami/bitnami-docker-mongodb#setting-up-a-replication\r
157 #\r
158 replicaSet:\r
159   ## Whether to create a MongoDB replica set for high availability or not\r
160   enabled: false\r
161   useHostnames: true\r
162 \r
163   ## Name of the replica set\r
164   ##\r
165   # name: mongoOTF\r
166 \r
167   ## Key used for replica set authentication\r
168   ##\r
169   # key: key\r
170 \r
171   ## Number of replicas per each node type\r
172   ##\r
173   replicas:\r
174     secondary: 1\r
175     arbiter: 1\r
176 \r
177   ## Pod Disruption Budget\r
178   ## ref: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/\r
179   pdb:\r
180     enabled: true\r
181     minAvailable:\r
182       primary: 1\r
183       secondary: 1\r
184       arbiter: 1\r
185     # maxUnavailable:\r
186       # primary: 1\r
187       # secondary: 1\r
188       # arbiter: 1\r
189 \r
190 # Annotations to be added to the deployment or statefulsets\r
191 annotations: {}\r
192 \r
193 # Additional labels to apply to the deployment or statefulsets\r
194 labels: {}\r
195 \r
196 # Annotations to be added to MongoDB pods\r
197 podAnnotations: {}\r
198 \r
199 # Additional pod labels to apply\r
200 podLabels: {}\r
201 \r
202 ## Use an alternate scheduler, e.g. "stork".\r
203 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/\r
204 ##\r
205 # schedulerName:\r
206 \r
207 ## Configure resource requests and limits\r
208 ## ref: http://kubernetes.io/docs/user-guide/compute-resources/\r
209 ##\r
210 resources: {}\r
211 # Define separate resources per arbiter, which are less then primary or secondary\r
212 # used only when replica set is enabled\r
213 resourcesArbiter: {}\r
214 # limits:\r
215 #   cpu: 500m\r
216 #   memory: 512Mi\r
217 # requests:\r
218 #   cpu: 100m\r
219 #   memory: 256Mi\r
220 \r
221 ## Pod priority\r
222 ## https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/\r
223 # priorityClassName: ""\r
224 \r
225 ## Node selector\r
226 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector\r
227 nodeSelector: {}\r
228 \r
229 ## Affinity\r
230 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity\r
231 affinity: {}\r
232 # Define separate affinity for arbiter pod\r
233 affinityArbiter: {}\r
234 \r
235 ## Tolerations\r
236 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/\r
237 tolerations: []\r
238 \r
239 ## updateStrategy for MongoDB Primary, Secondary and Arbitrer statefulsets\r
240 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies\r
241 updateStrategy:\r
242   type: RollingUpdate\r
243 \r
244 ## Add sidecars to the pod\r
245 ##\r
246 ## For example:\r
247 ## sidecars:\r
248 ##   - name: your-image-name\r
249 ##     image: your-image\r
250 ##     imagePullPolicy: Always\r
251 ##     ports:\r
252 ##       - name: portname\r
253 ##         containerPort: 1234\r
254 sidecars: []\r
255 ## Array to add extra volumes\r
256 ##\r
257 extraVolumes: []\r
258 ## Array to add extra mounts (normally used with extraVolumes)\r
259 ##\r
260 extraVolumeMounts: []\r
261 \r
262 ## Add sidecars to the arbiter pod\r
263 # used only when replica set is enabled\r
264 ##\r
265 ## For example:\r
266 ## sidecars:\r
267 ##   - name: your-image-name\r
268 ##     image: your-image\r
269 ##     imagePullPolicy: Always\r
270 ##     ports:\r
271 ##       - name: portname\r
272 ##         containerPort: 1234\r
273 sidecarsArbiter: []\r
274 ## Array to add extra volumes to the arbiter\r
275 # used only when replica set is enabled\r
276 ##\r
277 extraVolumesArbiter: []\r
278 ## Array to add extra mounts (normally used with extraVolumes) to the arbiter\r
279 # used only when replica set is enabled\r
280 ##\r
281 extraVolumeMountsArbiter: []\r
282 \r
283 ## Enable persistence using Persistent Volume Claims\r
284 ## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/\r
285 ##\r
286 persistence:\r
287   enabled: true\r
288   ## A manually managed Persistent Volume and Claim\r
289   ## Requires persistence.enabled: true\r
290   ## If defined, PVC must be created manually before volume will be bound\r
291   ##\r
292   # existingClaim:\r
293 \r
294   ## The path the volume will be mounted at, useful when using different\r
295   ## MongoDB images.\r
296   ##\r
297   mountPath: /bitnami/mongodb\r
298 \r
299   ## The subdirectory of the volume to mount to, useful in dev environments\r
300   ## and one PV for multiple services.\r
301   ##\r
302   subPath: ""\r
303 \r
304   ## mongodb data Persistent Volume Storage Class\r
305   ## If defined, storageClassName: <storageClass>\r
306   ## If set to "-", storageClassName: "", which disables dynamic provisioning\r
307   ## If undefined (the default) or set to null, no storageClassName spec is\r
308   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on\r
309   ##   GKE, AWS & OpenStack)\r
310   ##\r
311   # storageClass: "-"\r
312   accessModes:\r
313     - ReadWriteOnce\r
314   size: 8Gi\r
315   annotations: {}\r
316 \r
317 ## Configure the ingress resource that allows you to access the\r
318 ## MongoDB installation. Set up the URL\r
319 ## ref: http://kubernetes.io/docs/user-guide/ingress/\r
320 ##\r
321 ingress:\r
322   ## Set to true to enable ingress record generation\r
323   enabled: false\r
324 \r
325   ## Set this to true in order to add the corresponding annotations for cert-manager\r
326   certManager: false\r
327 \r
328   ## Ingress annotations done as key:value pairs\r
329   ## For a full list of possible ingress annotations, please see\r
330   ## ref: https://github.com/kubernetes/ingress-nginx/blob/master/docs/user-guide/nginx-configuration/annotations.md\r
331   ##\r
332   ## If tls is set to true, annotation ingress.kubernetes.io/secure-backends: "true" will automatically be set\r
333   ## If certManager is set to true, annotation kubernetes.io/tls-acme: "true" will automatically be set\r
334   annotations:\r
335   #  kubernetes.io/ingress.class: nginx\r
336 \r
337   ## The list of hostnames to be covered with this ingress record.\r
338   ## Most likely this will be just one host, but in the event more hosts are needed, this is an array\r
339   hosts:\r
340   - name: mongodb.local\r
341     path: /\r
342 \r
343   ## The tls configuration for the ingress\r
344   ## see: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls\r
345   tls:\r
346   - hosts:\r
347       - mongodb.local\r
348     secretName: mongodb.local-tls\r
349 \r
350   secrets:\r
351   ## If you're providing your own certificates, please use this to add the certificates as secrets\r
352   ## key and certificate should start with -----BEGIN CERTIFICATE----- or\r
353   ## -----BEGIN RSA PRIVATE KEY-----\r
354   ##\r
355   ## name should line up with a tlsSecret set further up\r
356   ## If you're using cert-manager, this is unneeded, as it will create the secret for you if it is not set\r
357   ##\r
358   ## It is also possible to create and manage the certificates outside of this helm chart\r
359   ## Please see README.md for more information\r
360   # - name: airflow.local-tls\r
361   #   key:\r
362   #   certificate:\r
363 \r
364 ## Configure the options for init containers to be run before the main app containers\r
365 ## are started. All init containers are run sequentially and must exit without errors\r
366 ## for the next one to be started.\r
367 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/\r
368 # extraInitContainers: |\r
369 #   - name: do-something\r
370 #     image: busybox\r
371 #     command: ['do', 'something']\r
372 \r
373 ## Configure extra options for liveness and readiness probes\r
374 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes)\r
375 livenessProbe:\r
376   enabled: true\r
377   initialDelaySeconds: 30\r
378   periodSeconds: 10\r
379   timeoutSeconds: 5\r
380   failureThreshold: 6\r
381   successThreshold: 1\r
382 readinessProbe:\r
383   enabled: true\r
384   initialDelaySeconds: 5\r
385   periodSeconds: 10\r
386   timeoutSeconds: 5\r
387   failureThreshold: 6\r
388   successThreshold: 1\r
389 \r
390 # Define custom config map with init scripts\r
391 initConfigMap: {}\r
392 #  name: "init-config-map"\r
393 \r
394 ## Entries for the MongoDB config file. For documentation of all options, see:\r
395 ##   http://docs.mongodb.org/manual/reference/configuration-options/\r
396 ##\r
397 configmap:\r
398 #  # where and how to store data.\r
399 #  storage:\r
400 #    dbPath: /bitnami/mongodb/data/db\r
401 #    journal:\r
402 #      enabled: true\r
403 #    directoryPerDB: false\r
404 #  # where to write logging data.\r
405 #  systemLog:\r
406 #    destination: file\r
407 #    quiet: false\r
408 #    logAppend: true\r
409 #    logRotate: reopen\r
410 #    path: /opt/bitnami/mongodb/logs/mongodb.log\r
411 #    verbosity: 0\r
412 #  # network interfaces\r
413 #  net:\r
414 #    port: 27017\r
415 #    unixDomainSocket:\r
416 #      enabled: true\r
417 #      pathPrefix: /opt/bitnami/mongodb/tmp\r
418 #    ipv6: false\r
419 #    bindIpAll: true\r
420 #  # replica set options\r
421 #  #replication:\r
422 #    #replSetName: replicaset\r
423 #    #enableMajorityReadConcern: true\r
424 #  # process management options\r
425 #  processManagement:\r
426 #     fork: false\r
427 #     pidFilePath: /opt/bitnami/mongodb/tmp/mongodb.pid\r
428 #  # set parameter options\r
429 #  setParameter:\r
430 #     enableLocalhostAuthBypass: true\r
431 #  # security options\r
432 #  security:\r
433 #    authorization: disabled\r
434 #    #keyFile: /opt/bitnami/mongodb/conf/keyfile\r
435 \r
436 ## Prometheus Exporter / Metrics\r
437 ##\r
438 metrics:\r
439   enabled: false\r
440 \r
441   image:\r
442     registry: docker.io\r
443     repository: bitnami/mongodb-exporter\r
444     tag: 0.10.0-debian-10-r41\r
445     pullPolicy: IfNotPresent\r
446     ## Optionally specify an array of imagePullSecrets.\r
447     ## Secrets must be manually created in the namespace.\r
448     ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/\r
449     ##\r
450     # pullSecrets:\r
451     #   - myRegistryKeySecretName\r
452 \r
453   ## String with extra arguments to the metrics exporter\r
454   ## ref: https://github.com/percona/mongodb_exporter/blob/master/mongodb_exporter.go\r
455   extraArgs: ""\r
456 \r
457   ## Metrics exporter resource requests and limits\r
458   ## ref: http://kubernetes.io/docs/user-guide/compute-resources/\r
459   ##\r
460   # resources: {}\r
461 \r
462   ## Metrics exporter liveness and readiness probes\r
463   ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes)\r
464   livenessProbe:\r
465     enabled: false\r
466     initialDelaySeconds: 15\r
467     periodSeconds: 5\r
468     timeoutSeconds: 5\r
469     failureThreshold: 3\r
470     successThreshold: 1\r
471   readinessProbe:\r
472     enabled: false\r
473     initialDelaySeconds: 5\r
474     periodSeconds: 5\r
475     timeoutSeconds: 1\r
476     failureThreshold: 3\r
477     successThreshold: 1\r
478 \r
479   ## Metrics exporter pod Annotation\r
480   podAnnotations:\r
481     prometheus.io/scrape: "true"\r
482     prometheus.io/port: "9216"\r
483 \r
484   ## Prometheus Service Monitor\r
485   ## ref: https://github.com/coreos/prometheus-operator\r
486   ##      https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md\r
487   serviceMonitor:\r
488     ## If the operator is installed in your cluster, set to true to create a Service Monitor Entry\r
489     enabled: false\r
490 \r
491     ## Specify a namespace if needed\r
492     # namespace: monitoring\r
493 \r
494     ## Used to pass Labels that are used by the Prometheus installed in your cluster to select Service Monitors to work with\r
495     ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#prometheusspec\r
496     additionalLabels: {}\r
497 \r
498     ## Specify Metric Relabellings to add to the scrape endpoint\r
499     ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint\r
500     # relabellings:\r
501 \r
502     alerting:\r
503       ## Define individual alerting rules as required\r
504       ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#rulegroup\r
505       ##      https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/\r
506       rules: {}\r
507 \r
508       ## Used to pass Labels that are used by the Prometheus installed in your cluster to select Prometheus Rules to work with\r
509       ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#prometheusspec\r
510       additionalLabels: {}\r