Adding policy manager and a1 sdnc vth
[it/otf.git] / otf-helm / otf / charts / databases / charts / mongodb / values.yaml
diff --git a/otf-helm/otf/charts/databases/charts/mongodb/values.yaml b/otf-helm/otf/charts/databases/charts/mongodb/values.yaml
new file mode 100644 (file)
index 0000000..804031f
--- /dev/null
@@ -0,0 +1,510 @@
+# Values yaml file for reference from the github. - currently not used.\r
+\r
+## Global Docker image parameters\r
+## Please, note that this will override the image parameters, including dependencies, configured to use the global value\r
+## Current available global Docker image parameters: imageRegistry and imagePullSecrets\r
+##\r
+# global:\r
+#   imageRegistry: myRegistryName\r
+#   imagePullSecrets:\r
+#     - myRegistryKeySecretName\r
+#   storageClass: myStorageClass\r
+\r
+image:\r
+  ## Bitnami MongoDB registry\r
+  ##\r
+  registry: docker.io\r
+  ## Bitnami MongoDB image name\r
+  ##\r
+  repository: bitnami/mongodb\r
+  ## Bitnami MongoDB image tag\r
+  ## ref: https://hub.docker.com/r/bitnami/mongodb/tags/\r
+  ##\r
+  tag: 4.2.6-debian-10-r18\r
+  ## Specify a imagePullPolicy\r
+  ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images\r
+  ##\r
+  pullPolicy: IfNotPresent\r
+  ## Optionally specify an array of imagePullSecrets.\r
+  ## Secrets must be manually created in the namespace.\r
+  ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/\r
+  ##\r
+  # pullSecrets:\r
+  #   - myRegistryKeySecretName\r
+\r
+  ## Set to true if you would like to see extra information on logs\r
+  ## It turns on Bitnami debugging in minideb-extras-base\r
+  ## ref:  https://github.com/bitnami/minideb-extras-base\r
+  debug: false\r
+\r
+## String to partially override mongodb.fullname template (will maintain the release name)\r
+##\r
+# nameOverride: otf-mongo\r
+\r
+## String to fully override mongodb.fullname template\r
+##\r
+# fullnameOverride:\r
+\r
+## Init containers parameters:\r
+## volumePermissions: Change the owner and group of the persistent volume mountpoint to runAsUser:fsGroup values from the securityContext section.\r
+##\r
+volumePermissions:\r
+  enabled: false\r
+  image:\r
+    registry: docker.io\r
+    repository: bitnami/minideb\r
+    tag: buster\r
+    pullPolicy: Always\r
+    ## Optionally specify an array of imagePullSecrets.\r
+    ## Secrets must be manually created in the namespace.\r
+    ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/\r
+    ##\r
+    # pullSecrets:\r
+    #   - myRegistryKeySecretName\r
+  resources: {}\r
+\r
+## Enable authentication\r
+## ref: https://docs.mongodb.com/manual/tutorial/enable-authentication/\r
+#\r
+usePassword: true\r
+# existingSecret: name-of-existing-secret\r
+\r
+## MongoDB admin password\r
+## ref: https://github.com/bitnami/bitnami-docker-mongodb/blob/master/README.md#setting-the-root-password-on-first-run\r
+##\r
+mongodbRootPassword: otf.123\r
+\r
+## MongoDB custom user and database\r
+## ref: https://github.com/bitnami/bitnami-docker-mongodb/blob/master/README.md#creating-a-user-and-database-on-first-run\r
+##\r
+mongodbUsername: otfuser\r
+mongodbPassword: Today.123\r
+mongodbDatabase: otf\r
+\r
+## Whether enable/disable IPv6 on MongoDB\r
+## ref: https://github.com/bitnami/bitnami-docker-mongodb/blob/master/README.md#enabling/disabling-ipv6\r
+##\r
+mongodbEnableIPv6: false\r
+\r
+## Whether enable/disable DirectoryPerDB on MongoDB\r
+## ref: https://github.com/bitnami/bitnami-docker-mongodb/blob/master/README.md#enabling/disabling-directoryperdb\r
+##\r
+mongodbDirectoryPerDB: false\r
+\r
+## MongoDB System Log configuration\r
+## ref: https://github.com/bitnami/bitnami-docker-mongodb#configuring-system-log-verbosity-level\r
+##\r
+mongodbSystemLogVerbosity: 0\r
+mongodbDisableSystemLog: false\r
+\r
+## MongoDB additional command line flags\r
+##\r
+## Can be used to specify command line flags, for example:\r
+##\r
+## mongodbExtraFlags:\r
+##  - "--wiredTigerCacheSizeGB=2"\r
+mongodbExtraFlags: []\r
+\r
+## Pod Security Context\r
+## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/\r
+##\r
+securityContext:\r
+  enabled: true\r
+  fsGroup: 1001\r
+  runAsUser: 1001\r
+\r
+## Kubernetes Cluster Domain\r
+clusterDomain: cluster.local\r
+\r
+## Kubernetes service type\r
+service:\r
+  ## Specify an explicit service name.\r
+  # name: svc-mongo\r
+  ## Provide any additional annotations which may be required.\r
+  ## The value is evaluated as a template, so, for example, the value can depend on .Release or .Chart\r
+  annotations: {}\r
+  type: ClusterIP\r
+  # clusterIP: None\r
+  port: 27017\r
+\r
+  ## Specify the nodePort value for the LoadBalancer and NodePort service types.\r
+  ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport\r
+  ##\r
+  # nodePort:\r
+\r
+  ## Specify the externalIP value ClusterIP service type.\r
+  ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#external-ips\r
+  # externalIPs: []\r
+\r
+  ## Specify the loadBalancerIP value for LoadBalancer service types.\r
+  ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer\r
+  ##\r
+  # loadBalancerIP:\r
+\r
+  ## Specify the loadBalancerSourceRanges value for LoadBalancer service types.\r
+  ## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service\r
+  ##\r
+  # loadBalancerSourceRanges: []\r
+\r
+# Add custom extra environment variables to all the MongoDB containers\r
+# extraEnvVars:\r
+\r
+## Use StatefulSet instead of Deployment when deploying standalone\r
+useStatefulSet: false\r
+\r
+## Setting up replication\r
+## ref: https://github.com/bitnami/bitnami-docker-mongodb#setting-up-a-replication\r
+#\r
+replicaSet:\r
+  ## Whether to create a MongoDB replica set for high availability or not\r
+  enabled: false\r
+  useHostnames: true\r
+\r
+  ## Name of the replica set\r
+  ##\r
+  # name: mongoOTF\r
+\r
+  ## Key used for replica set authentication\r
+  ##\r
+  # key: key\r
+\r
+  ## Number of replicas per each node type\r
+  ##\r
+  replicas:\r
+    secondary: 1\r
+    arbiter: 1\r
+\r
+  ## Pod Disruption Budget\r
+  ## ref: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/\r
+  pdb:\r
+    enabled: true\r
+    minAvailable:\r
+      primary: 1\r
+      secondary: 1\r
+      arbiter: 1\r
+    # maxUnavailable:\r
+      # primary: 1\r
+      # secondary: 1\r
+      # arbiter: 1\r
+\r
+# Annotations to be added to the deployment or statefulsets\r
+annotations: {}\r
+\r
+# Additional labels to apply to the deployment or statefulsets\r
+labels: {}\r
+\r
+# Annotations to be added to MongoDB pods\r
+podAnnotations: {}\r
+\r
+# Additional pod labels to apply\r
+podLabels: {}\r
+\r
+## Use an alternate scheduler, e.g. "stork".\r
+## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/\r
+##\r
+# schedulerName:\r
+\r
+## Configure resource requests and limits\r
+## ref: http://kubernetes.io/docs/user-guide/compute-resources/\r
+##\r
+resources: {}\r
+# Define separate resources per arbiter, which are less then primary or secondary\r
+# used only when replica set is enabled\r
+resourcesArbiter: {}\r
+# limits:\r
+#   cpu: 500m\r
+#   memory: 512Mi\r
+# requests:\r
+#   cpu: 100m\r
+#   memory: 256Mi\r
+\r
+## Pod priority\r
+## https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/\r
+# priorityClassName: ""\r
+\r
+## Node selector\r
+## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector\r
+nodeSelector: {}\r
+\r
+## Affinity\r
+## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity\r
+affinity: {}\r
+# Define separate affinity for arbiter pod\r
+affinityArbiter: {}\r
+\r
+## Tolerations\r
+## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/\r
+tolerations: []\r
+\r
+## updateStrategy for MongoDB Primary, Secondary and Arbitrer statefulsets\r
+## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies\r
+updateStrategy:\r
+  type: RollingUpdate\r
+\r
+## Add sidecars to the pod\r
+##\r
+## For example:\r
+## sidecars:\r
+##   - name: your-image-name\r
+##     image: your-image\r
+##     imagePullPolicy: Always\r
+##     ports:\r
+##       - name: portname\r
+##         containerPort: 1234\r
+sidecars: []\r
+## Array to add extra volumes\r
+##\r
+extraVolumes: []\r
+## Array to add extra mounts (normally used with extraVolumes)\r
+##\r
+extraVolumeMounts: []\r
+\r
+## Add sidecars to the arbiter pod\r
+# used only when replica set is enabled\r
+##\r
+## For example:\r
+## sidecars:\r
+##   - name: your-image-name\r
+##     image: your-image\r
+##     imagePullPolicy: Always\r
+##     ports:\r
+##       - name: portname\r
+##         containerPort: 1234\r
+sidecarsArbiter: []\r
+## Array to add extra volumes to the arbiter\r
+# used only when replica set is enabled\r
+##\r
+extraVolumesArbiter: []\r
+## Array to add extra mounts (normally used with extraVolumes) to the arbiter\r
+# used only when replica set is enabled\r
+##\r
+extraVolumeMountsArbiter: []\r
+\r
+## Enable persistence using Persistent Volume Claims\r
+## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/\r
+##\r
+persistence:\r
+  enabled: true\r
+  ## A manually managed Persistent Volume and Claim\r
+  ## Requires persistence.enabled: true\r
+  ## If defined, PVC must be created manually before volume will be bound\r
+  ##\r
+  # existingClaim:\r
+\r
+  ## The path the volume will be mounted at, useful when using different\r
+  ## MongoDB images.\r
+  ##\r
+  mountPath: /bitnami/mongodb\r
+\r
+  ## The subdirectory of the volume to mount to, useful in dev environments\r
+  ## and one PV for multiple services.\r
+  ##\r
+  subPath: ""\r
+\r
+  ## mongodb data Persistent Volume Storage Class\r
+  ## If defined, storageClassName: <storageClass>\r
+  ## If set to "-", storageClassName: "", which disables dynamic provisioning\r
+  ## If undefined (the default) or set to null, no storageClassName spec is\r
+  ##   set, choosing the default provisioner.  (gp2 on AWS, standard on\r
+  ##   GKE, AWS & OpenStack)\r
+  ##\r
+  # storageClass: "-"\r
+  accessModes:\r
+    - ReadWriteOnce\r
+  size: 8Gi\r
+  annotations: {}\r
+\r
+## Configure the ingress resource that allows you to access the\r
+## MongoDB installation. Set up the URL\r
+## ref: http://kubernetes.io/docs/user-guide/ingress/\r
+##\r
+ingress:\r
+  ## Set to true to enable ingress record generation\r
+  enabled: false\r
+\r
+  ## Set this to true in order to add the corresponding annotations for cert-manager\r
+  certManager: false\r
+\r
+  ## Ingress annotations done as key:value pairs\r
+  ## For a full list of possible ingress annotations, please see\r
+  ## ref: https://github.com/kubernetes/ingress-nginx/blob/master/docs/user-guide/nginx-configuration/annotations.md\r
+  ##\r
+  ## If tls is set to true, annotation ingress.kubernetes.io/secure-backends: "true" will automatically be set\r
+  ## If certManager is set to true, annotation kubernetes.io/tls-acme: "true" will automatically be set\r
+  annotations:\r
+  #  kubernetes.io/ingress.class: nginx\r
+\r
+  ## The list of hostnames to be covered with this ingress record.\r
+  ## Most likely this will be just one host, but in the event more hosts are needed, this is an array\r
+  hosts:\r
+  - name: mongodb.local\r
+    path: /\r
+\r
+  ## The tls configuration for the ingress\r
+  ## see: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls\r
+  tls:\r
+  - hosts:\r
+      - mongodb.local\r
+    secretName: mongodb.local-tls\r
+\r
+  secrets:\r
+  ## If you're providing your own certificates, please use this to add the certificates as secrets\r
+  ## key and certificate should start with -----BEGIN CERTIFICATE----- or\r
+  ## -----BEGIN RSA PRIVATE KEY-----\r
+  ##\r
+  ## name should line up with a tlsSecret set further up\r
+  ## If you're using cert-manager, this is unneeded, as it will create the secret for you if it is not set\r
+  ##\r
+  ## It is also possible to create and manage the certificates outside of this helm chart\r
+  ## Please see README.md for more information\r
+  # - name: airflow.local-tls\r
+  #   key:\r
+  #   certificate:\r
+\r
+## Configure the options for init containers to be run before the main app containers\r
+## are started. All init containers are run sequentially and must exit without errors\r
+## for the next one to be started.\r
+## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/\r
+# extraInitContainers: |\r
+#   - name: do-something\r
+#     image: busybox\r
+#     command: ['do', 'something']\r
+\r
+## Configure extra options for liveness and readiness probes\r
+## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes)\r
+livenessProbe:\r
+  enabled: true\r
+  initialDelaySeconds: 30\r
+  periodSeconds: 10\r
+  timeoutSeconds: 5\r
+  failureThreshold: 6\r
+  successThreshold: 1\r
+readinessProbe:\r
+  enabled: true\r
+  initialDelaySeconds: 5\r
+  periodSeconds: 10\r
+  timeoutSeconds: 5\r
+  failureThreshold: 6\r
+  successThreshold: 1\r
+\r
+# Define custom config map with init scripts\r
+initConfigMap: {}\r
+#  name: "init-config-map"\r
+\r
+## Entries for the MongoDB config file. For documentation of all options, see:\r
+##   http://docs.mongodb.org/manual/reference/configuration-options/\r
+##\r
+configmap:\r
+#  # where and how to store data.\r
+#  storage:\r
+#    dbPath: /bitnami/mongodb/data/db\r
+#    journal:\r
+#      enabled: true\r
+#    directoryPerDB: false\r
+#  # where to write logging data.\r
+#  systemLog:\r
+#    destination: file\r
+#    quiet: false\r
+#    logAppend: true\r
+#    logRotate: reopen\r
+#    path: /opt/bitnami/mongodb/logs/mongodb.log\r
+#    verbosity: 0\r
+#  # network interfaces\r
+#  net:\r
+#    port: 27017\r
+#    unixDomainSocket:\r
+#      enabled: true\r
+#      pathPrefix: /opt/bitnami/mongodb/tmp\r
+#    ipv6: false\r
+#    bindIpAll: true\r
+#  # replica set options\r
+#  #replication:\r
+#    #replSetName: replicaset\r
+#    #enableMajorityReadConcern: true\r
+#  # process management options\r
+#  processManagement:\r
+#     fork: false\r
+#     pidFilePath: /opt/bitnami/mongodb/tmp/mongodb.pid\r
+#  # set parameter options\r
+#  setParameter:\r
+#     enableLocalhostAuthBypass: true\r
+#  # security options\r
+#  security:\r
+#    authorization: disabled\r
+#    #keyFile: /opt/bitnami/mongodb/conf/keyfile\r
+\r
+## Prometheus Exporter / Metrics\r
+##\r
+metrics:\r
+  enabled: false\r
+\r
+  image:\r
+    registry: docker.io\r
+    repository: bitnami/mongodb-exporter\r
+    tag: 0.10.0-debian-10-r41\r
+    pullPolicy: IfNotPresent\r
+    ## Optionally specify an array of imagePullSecrets.\r
+    ## Secrets must be manually created in the namespace.\r
+    ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/\r
+    ##\r
+    # pullSecrets:\r
+    #   - myRegistryKeySecretName\r
+\r
+  ## String with extra arguments to the metrics exporter\r
+  ## ref: https://github.com/percona/mongodb_exporter/blob/master/mongodb_exporter.go\r
+  extraArgs: ""\r
+\r
+  ## Metrics exporter resource requests and limits\r
+  ## ref: http://kubernetes.io/docs/user-guide/compute-resources/\r
+  ##\r
+  # resources: {}\r
+\r
+  ## Metrics exporter liveness and readiness probes\r
+  ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes)\r
+  livenessProbe:\r
+    enabled: false\r
+    initialDelaySeconds: 15\r
+    periodSeconds: 5\r
+    timeoutSeconds: 5\r
+    failureThreshold: 3\r
+    successThreshold: 1\r
+  readinessProbe:\r
+    enabled: false\r
+    initialDelaySeconds: 5\r
+    periodSeconds: 5\r
+    timeoutSeconds: 1\r
+    failureThreshold: 3\r
+    successThreshold: 1\r
+\r
+  ## Metrics exporter pod Annotation\r
+  podAnnotations:\r
+    prometheus.io/scrape: "true"\r
+    prometheus.io/port: "9216"\r
+\r
+  ## Prometheus Service Monitor\r
+  ## ref: https://github.com/coreos/prometheus-operator\r
+  ##      https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md\r
+  serviceMonitor:\r
+    ## If the operator is installed in your cluster, set to true to create a Service Monitor Entry\r
+    enabled: false\r
+\r
+    ## Specify a namespace if needed\r
+    # namespace: monitoring\r
+\r
+    ## Used to pass Labels that are used by the Prometheus installed in your cluster to select Service Monitors to work with\r
+    ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#prometheusspec\r
+    additionalLabels: {}\r
+\r
+    ## Specify Metric Relabellings to add to the scrape endpoint\r
+    ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint\r
+    # relabellings:\r
+\r
+    alerting:\r
+      ## Define individual alerting rules as required\r
+      ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#rulegroup\r
+      ##      https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/\r
+      rules: {}\r
+\r
+      ## Used to pass Labels that are used by the Prometheus installed in your cluster to select Prometheus Rules to work with\r
+      ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#prometheusspec\r
+      additionalLabels: {}\r