123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819 |
- ## @section Global parameters
- ## Global Docker image parameters
- ## Please, note that this will override the image parameters, including dependencies, configured to use the global value
- ## Current available global Docker image parameters: imageRegistry, imagePullSecrets and storageClass
- ## @param global.imageRegistry Global Docker image registry
- ## @param global.imagePullSecrets Global Docker registry secret names as an array
- ## @param global.storageClass Global StorageClass for Persistent Volume(s)
- ##
- global:
- imageRegistry: ""
- ## E.g.
- ## imagePullSecrets:
- ## - myRegistryKeySecretName
- ##
- imagePullSecrets: []
- storageClass: ""
- ## @section Common parameters
- ## @param kubeVersion Force target Kubernetes version (using Helm capabilities if not set)
- ##
- kubeVersion: ""
- ## @param nameOverride String to partially override drupal.fullname template (will maintain the release name)
- ##
- nameOverride: ""
- ## @param fullnameOverride String to fully override drupal.fullname template
- ##
- fullnameOverride: ""
- ## @param commonAnnotations Common annotations to add to all Drupal resources (sub-charts are not considered). Evaluated as a template
- ##
- commonAnnotations: {}
- ## @param commonLabels Common labels to add to all Drupal resources (sub-charts are not considered). Evaluated as a template
- ##
- commonLabels: {}
- ## @param extraDeploy Array of extra objects to deploy with the release (evaluated as a template).
- ##
- extraDeploy: []
- ## @section Drupal parameters
- ## Bitnami Drupal image version
- ## ref: https://hub.docker.com/r/bitnami/drupal/tags/
- ## @param image.registry Drupal image registry
- ## @param image.repository Drupal Image name
- ## @param image.tag Drupal Image tag
- ## @param image.pullPolicy Drupal image pull policy
- ## @param image.pullSecrets Specify docker-registry secret names as an array
- ## @param image.debug Specify if debug logs should be enabled
- ##
- image:
- registry: docker.io
- repository: bitnami/drupal
- tag: 9.3.4-debian-10-r0
- ## Specify a imagePullPolicy
- ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
- ## ref: https://kubernetes.io/docs/user-guide/images/#pre-pulling-images
- ##
- pullPolicy: IfNotPresent
- ## Optionally specify an array of imagePullSecrets.
- ## Secrets must be manually created in the namespace.
- ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
- ## e.g:
- ## pullSecrets:
- ## - myRegistryKeySecretName
- ##
- pullSecrets: []
- ## Set to true if you would like to see extra information on logs
- ##
- debug: false
- ## @param replicaCount Number of Drupal Pods to run (requires ReadWriteMany PVC support)
- ##
- replicaCount: 1
- ## @param drupalProfile Drupal installation profile
- ## ref: https://github.com/bitnami/bitnami-docker-drupal#configuration
- ##
- drupalProfile: standard
- ## @param drupalSkipInstall Skip Drupal installation wizard. Useful for migrations and restoring from SQL dump
- ## ref: https://github.com/bitnami/bitnami-docker-drupal#configuration
- ##
- drupalSkipInstall: false
- ## @param drupalUsername User of the application
- ## ref: https://github.com/bitnami/bitnami-docker-drupal#configuration
- ##
- drupalUsername: user
- ## @param drupalPassword Application password
- ## Defaults to a random 10-character alphanumeric string if not set
- ## ref: https://github.com/bitnami/bitnami-docker-drupal#configuration
- ##
- drupalPassword: ""
- ## @param drupalEmail Admin email
- ## ref: https://github.com/bitnami/bitnami-docker-drupal#configuration
- ##
- drupalEmail: user@example.com
- ## @param allowEmptyPassword Allow DB blank passwords
- ## ref: https://github.com/bitnami/bitnami-docker-drupal#environment-variables
- ##
- allowEmptyPassword: true
- ## @param command Override default container command (useful when using custom images)
- ##
- command: []
- ## @param args Override default container args (useful when using custom images)
- ##
- args: []
- ## @param updateStrategy.type Update strategy - only really applicable for deployments with RWO PVs attached
- ## If replicas = 1, an update can get "stuck", as the previous pod remains attached to the
- ## PV, and the "incoming" pod can never start. Changing the strategy to "Recreate" will
- ## terminate the single previous pod, so that the new, incoming pod can attach to the PV
- ##
- updateStrategy:
- type: RollingUpdate
- ## @param priorityClassName Drupal pods' priorityClassName
- ##
- priorityClassName: ""
- ## @param schedulerName Name of the k8s scheduler (other than default)
- ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
- ##
- schedulerName: ""
- ## @param topologySpreadConstraints Topology Spread Constraints for pod assignment
- ## https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
- ## The value is evaluated as a template
- ##
- topologySpreadConstraints: []
- ## @param hostAliases [array] Add deployment host aliases
- ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
- ##
- hostAliases:
- ## Necessary for apache-exporter to work
- ##
- - ip: "127.0.0.1"
- hostnames:
- - "status.localhost"
- ## @param extraEnvVars Extra environment variables
- ## For example:
- ##
- extraEnvVars: []
- # - name: BEARER_AUTH
- # value: true
- ## @param extraEnvVarsCM ConfigMap containing extra env vars
- ##
- extraEnvVarsCM: ""
- ## @param extraEnvVarsSecret Secret containing extra env vars (in case of sensitive data)
- ##
- extraEnvVarsSecret: ""
- ## @param extraVolumes Array of extra volumes to be added to the deployment (evaluated as template). Requires setting `extraVolumeMounts`
- ##
- extraVolumes: []
- ## @param extraVolumeMounts Array of extra volume mounts to be added to the container (evaluated as template). Normally used with `extraVolumes`.
- ##
- extraVolumeMounts: []
- ## @param initContainers Add additional init containers to the pod (evaluated as a template)
- ##
- initContainers: []
- ## @param sidecars Attach additional containers to the pod (evaluated as a template)
- ##
- sidecars: []
- ## @param tolerations Tolerations for pod assignment
- ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
- ##
- tolerations: []
- ## @param existingSecret Name of a secret with the application password
- ##
- existingSecret: ""
- ## SMTP mail delivery configuration
- ## ref: https://github.com/bitnami/bitnami-docker-drupal/#smtp-configuration
- ## @param smtpHost SMTP host
- ## @param smtpPort SMTP port
- ## @param smtpUser SMTP user
- ## @param smtpPassword SMTP password
- ## @param smtpProtocol SMTP Protocol (options: ssl,tls, nil)
- ##
- smtpHost: ""
- smtpPort: ""
- smtpUser: ""
- smtpPassword: ""
- smtpProtocol: ""
- ## @param containerPorts [object] Container ports
- ##
- containerPorts:
- http: 8080
- https: 8443
- ## @param sessionAffinity Control where client requests go, to the same pod or round-robin. Values: ClientIP or None
- ## ref: https://kubernetes.io/docs/user-guide/services/
- ##
- sessionAffinity: "None"
- ## Enable persistence using Persistent Volume Claims
- ## ref: https://kubernetes.io/docs/user-guide/persistent-volumes/
- ##
- persistence:
- ## @param persistence.enabled Enable persistence using PVC
- ##
- enabled: true
- ## @param persistence.storageClass PVC Storage Class for Drupal volume
- ## If defined, storageClassName: <storageClass>
- ## If set to "-", storageClassName: "", which disables dynamic provisioning
- ## If undefined (the default) or set to null, no storageClassName spec is
- ## set, choosing the default provisioner. (gp2 on AWS, standard on
- ## GKE, AWS & OpenStack)
- ##
- storageClass: ""
- ## @param persistence.accessModes PVC Access Mode for Drupal volume
- ## Requires persistence.enabled: true
- ## If defined, PVC must be created manually before volume will be bound
- ##
- accessModes:
- - ReadWriteOnce
- ## @param persistence.size PVC Storage Request for Drupal volume
- ##
- size: 8Gi
- ## @param persistence.existingClaim A manually managed Persistent Volume Claim
- ## Requires persistence.enabled: true
- ## If defined, PVC must be created manually before volume will be bound
- ##
- existingClaim: ""
- ## @param persistence.hostPath If defined, the drupal-data volume will mount to the specified hostPath.
- ## Requires persistence.enabled: true
- ## Requires persistence.existingClaim: nil|false
- ## Default: nil.
- ##
- hostPath: ""
- ## @param persistence.annotations Persistent Volume Claim annotations
- ##
- annotations: {}
- ## @param podAffinityPreset Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
- ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
- ##
- podAffinityPreset: ""
- ## @param podAntiAffinityPreset Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
- ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
- ##
- podAntiAffinityPreset: soft
- ## Node affinity preset
- ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
- ## @param nodeAffinityPreset.type Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
- ## @param nodeAffinityPreset.key Node label key to match Ignored if `affinity` is set.
- ## @param nodeAffinityPreset.values Node label values to match. Ignored if `affinity` is set.
- ##
- nodeAffinityPreset:
- type: ""
- ## E.g.
- ## key: "kubernetes.io/e2e-az-name"
- ##
- key: ""
- ## E.g.
- ## values:
- ## - e2e-az1
- ## - e2e-az2
- ##
- values: []
- ## @param affinity Affinity for pod assignment
- ## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
- ## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
- ##
- affinity: {}
- ## @param nodeSelector Node labels for pod assignment. Evaluated as a template.
- ## ref: https://kubernetes.io/docs/user-guide/node-selection/
- ##
- nodeSelector: {}
- ## Drupal container's resource requests and limits
- ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
- ## @param resources.requests [object] The requested resources for the init container
- ## @param resources.limits The resources limits for the init container
- ##
- resources:
- requests:
- memory: 512Mi
- cpu: 300m
- limits: {}
- ## Configure Pods Security Context
- ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
- ## @param podSecurityContext.enabled Enable Drupal pods' Security Context
- ## @param podSecurityContext.fsGroup Drupal pods' group ID
- ##
- podSecurityContext:
- enabled: true
- fsGroup: 1001
- ## Configure Container Security Context (only main container)
- ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
- ## @param containerSecurityContext.enabled Enable Drupal containers' Security Context
- ## @param containerSecurityContext.runAsUser Drupal containers' Security Context
- ## @param containerSecurityContext.runAsNonRoot Set Controller container's Security Context runAsNonRoot
- ##
- containerSecurityContext:
- enabled: true
- runAsUser: 1001
- runAsNonRoot: true
- ## Configure extra options for startup probe
- ## Drupal core exposes /user/login to unauthenticated requests, making it a good
- ## default startup and readiness path. However, that may not always be the
- ## case. For example, if the image value is overridden to an image containing a
- ## module that alters that route, or an image that does not auto-install Drupal.
- ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
- ## @param startupProbe.enabled Enable startupProbe
- ## @param startupProbe.path Request path for startupProbe
- ## @param startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
- ## @param startupProbe.periodSeconds Period seconds for startupProbe
- ## @param startupProbe.timeoutSeconds Timeout seconds for startupProbe
- ## @param startupProbe.failureThreshold Failure threshold for startupProbe
- ## @param startupProbe.successThreshold Success threshold for startupProbe
- ##
- startupProbe:
- enabled: false
- path: /user/login
- initialDelaySeconds: 600
- periodSeconds: 10
- timeoutSeconds: 5
- failureThreshold: 5
- successThreshold: 1
- ## Configure extra options for liveness probe
- ## Drupal core exposes /user/login to unauthenticated requests, making it a good
- ## default liveness and readiness path. However, that may not always be the
- ## case. For example, if the image value is overridden to an image containing a
- ## module that alters that route, or an image that does not auto-install Drupal.
- ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
- ## @param livenessProbe.enabled Enable livenessProbe
- ## @param livenessProbe.path Request path for livenessProbe
- ## @param livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
- ## @param livenessProbe.periodSeconds Period seconds for livenessProbe
- ## @param livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
- ## @param livenessProbe.failureThreshold Failure threshold for livenessProbe
- ## @param livenessProbe.successThreshold Success threshold for livenessProbe
- ##
- livenessProbe:
- enabled: true
- path: /user/login
- initialDelaySeconds: 600
- periodSeconds: 10
- timeoutSeconds: 5
- failureThreshold: 5
- successThreshold: 1
- ## Configure extra options for readiness probe
- ## Drupal core exposes /user/login to unauthenticated requests, making it a good
- ## default liveness and readiness path. However, that may not always be the
- ## case. For example, if the image value is overridden to an image containing a
- ## module that alters that route, or an image that does not auto-install Drupal.
- ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
- ## @param readinessProbe.enabled Enable readinessProbe
- ## @param readinessProbe.path Request path for readinessProbe
- ## @param readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
- ## @param readinessProbe.periodSeconds Period seconds for readinessProbe
- ## @param readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
- ## @param readinessProbe.failureThreshold Failure threshold for readinessProbe
- ## @param readinessProbe.successThreshold Success threshold for readinessProbe
- ##
- readinessProbe:
- enabled: true
- path: /user/login
- initialDelaySeconds: 30
- periodSeconds: 5
- timeoutSeconds: 1
- failureThreshold: 5
- successThreshold: 1
- ## @param customStartupProbe Override default startup probe
- ##
- customStartupProbe: {}
- ## @param customLivenessProbe Override default liveness probe
- ##
- customLivenessProbe: {}
- ## @param customReadinessProbe Override default readiness probe
- ##
- customReadinessProbe: {}
- ## @param lifecycleHooks LifecycleHook to set additional configuration at startup Evaluated as a template
- ##
- lifecycleHooks: {}
- ## @param podAnnotations Pod annotations
- ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
- ##
- podAnnotations: {}
- ## @param podLabels Add additional labels to the pod (evaluated as a template)
- ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
- ##
- podLabels: {}
- ## @section Traffic Exposure Parameters
- ## Kubernetes configuration. For minikube, set this to NodePort, elsewhere use LoadBalancer
- ##
- service:
- ## @param service.type Kubernetes Service type
- ##
- type: LoadBalancer
- ## @param service.ports.http Service HTTP port
- ## @param service.ports.https Service HTTPS port
- ##
- ports:
- http: 80
- https: 443
- ## @param service.loadBalancerSourceRanges Restricts access for LoadBalancer (only with `service.type: LoadBalancer`)
- ## e.g:
- ## loadBalancerSourceRanges:
- ## - 0.0.0.0/0
- ##
- loadBalancerSourceRanges: []
- ## @param service.loadBalancerIP loadBalancerIP for the Drupal Service (optional, cloud specific)
- ## ref: https://kubernetes.io/docs/user-guide/services/#type-loadbalancer
- loadBalancerIP: ""
- ## @param service.nodePorts [object] Kubernetes node port
- ## nodePorts:
- ## http: <to set explicitly, choose port between 30000-32767>
- ## https: <to set explicitly, choose port between 30000-32767>
- ##
- nodePorts:
- http: ""
- https: ""
- ## @param service.externalTrafficPolicy Enable client source IP preservation
- ## ref https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
- ##
- externalTrafficPolicy: Cluster
- ## @param service.clusterIP %%MAIN_CONTAINER_NAME%% service Cluster IP
- ## e.g.:
- ## clusterIP: None
- ##
- clusterIP: ""
- ## @param service.extraPorts Extra ports to expose (normally used with the `sidecar` value)
- ##
- extraPorts: []
- ## @param service.annotations Additional custom annotations for %%MAIN_CONTAINER_NAME%% service
- ##
- annotations: {}
- ## @param service.sessionAffinity Session Affinity for Kubernetes service, can be "None" or "ClientIP"
- ## If "ClientIP", consecutive client requests will be directed to the same Pod
- ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
- ##
- sessionAffinity: None
- ## @param service.sessionAffinityConfig Additional settings for the sessionAffinity
- ## sessionAffinityConfig:
- ## clientIP:
- ## timeoutSeconds: 300
- ##
- sessionAffinityConfig: {}
- ## Configure the ingress resource that allows you to access the
- ## Drupal installation. Set up the URL
- ## ref: https://kubernetes.io/docs/user-guide/ingress/
- ##
- ingress:
- ## @param ingress.enabled Enable ingress controller resource
- ##
- enabled: false
- ## DEPRECATED: Use ingress.annotations instead of ingress.certManager
- ## certManager: false
- ##
- ## @param ingress.pathType Ingress Path type
- ##
- pathType: ImplementationSpecific
- ## @param ingress.apiVersion Override API Version (automatically detected if not set)
- ##
- apiVersion: ""
- ## @param ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
- ## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
- ## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
- ##
- ingressClassName: ""
- ## @param ingress.hostname Default host for the ingress resource
- ##
- hostname: drupal.local
- ## @param ingress.path The Path to Drupal. You may need to set this to '/*' in order to use this
- ## with ALB ingress controllers.
- ##
- path: /
- ## @param ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
- ## For a full list of possible ingress annotations, please see
- ## ref: https://github.com/kubernetes/ingress-nginx/blob/master/docs/user-guide/nginx-configuration/annotations.md
- ## Use this parameter to set the required annotations for cert-manager, see
- ## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
- ##
- ## e.g:
- ## annotations:
- ## kubernetes.io/ingress.class: nginx
- ## cert-manager.io/cluster-issuer: cluster-issuer-name
- ##
- annotations: {}
- ## @param ingress.tls Enable TLS configuration for the hostname defined at ingress.hostname parameter
- ## TLS certificates will be retrieved from a TLS secret with name: {{- printf "%s-tls" .Values.ingress.hostname }}
- ## You can use the ingress.secrets parameter to create this TLS secret or relay on cert-manager to create it
- ##
- tls: false
- ## @param ingress.extraHosts The list of additional hostnames to be covered with this ingress record.
- ## Most likely the hostname above will be enough, but in the event more hosts are needed, this is an array
- ## extraHosts:
- ## - name: drupal.local
- ## path: /
- extraHosts: []
- ## @param ingress.extraPaths Any additional arbitrary paths that may need to be added to the ingress under the main host.
- ## For example: The ALB ingress controller requires a special rule for handling SSL redirection.
- ## extraPaths:
- ## - path: /*
- ## backend:
- ## serviceName: ssl-redirect
- ## servicePort: use-annotation
- extraPaths: []
- ## @param ingress.extraTls The tls configuration for additional hostnames to be covered with this ingress record.
- ## see: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
- ## extraTls:
- ## - hosts:
- ## - drupal.local
- ## secretName: drupal.local-tls
- extraTls: []
- ## @param ingress.secrets If you're providing your own certificates, please use this to add the certificates as secrets
- ## key and certificate should start with -----BEGIN CERTIFICATE----- or
- ## -----BEGIN RSA PRIVATE KEY-----
- ##
- ## name should line up with a tlsSecret set further up
- ## If you're using cert-manager, this is unneeded, as it will create the secret for you if it is not set
- ##
- ## It is also possible to create and manage the certificates outside of this helm chart
- ## Please see README.md for more information
- ## Example:
- ## - name: drupal.local-tls
- ## key:
- ## certificate:
- ##
- secrets: []
- ## @section Database parameters
- ## MariaDB chart configuration
- ## https://github.com/bitnami/charts/blob/master/bitnami/mariadb/values.yaml
- ##
- mariadb:
- ## @param mariadb.enabled Whether to deploy a mariadb server to satisfy the applications database requirements
- ## To use an external database set this to false and configure the externalDatabase parameters
- ##
- enabled: true
- ## @param mariadb.architecture MariaDB architecture (`standalone` or `replication`)
- ##
- architecture: standalone
- ## MariaDB Authentication parameters
- ## @param mariadb.auth.rootPassword Password for the MariaDB `root` user
- ## @param mariadb.auth.database Database name to create
- ## @param mariadb.auth.username Database user to create
- ## @param mariadb.auth.password Password for the database
- ##
- auth:
- ## ref: https://github.com/bitnami/bitnami-docker-mariadb#setting-the-root-password-on-first-run
- ##
- rootPassword: ""
- ## ref: https://github.com/bitnami/bitnami-docker-mariadb/blob/master/README.md#creating-a-database-on-first-run
- ##
- database: bitnami_drupal
- ## ref: https://github.com/bitnami/bitnami-docker-mariadb/blob/master/README.md#creating-a-database-user-on-first-run
- ##
- username: bn_drupal
- password: ""
- primary:
- ## Enable persistence using Persistent Volume Claims
- ## ref: https://kubernetes.io/docs/user-guide/persistent-volumes/
- ## @param mariadb.primary.persistence.enabled Enable database persistence using PVC
- ## @param mariadb.primary.persistence.storageClass MariaDB primary persistent volume storage Class
- ## @param mariadb.primary.persistence.accessModes Database Persistent Volume Access Modes
- ## @param mariadb.primary.persistence.size Database Persistent Volume Size
- ## @param mariadb.primary.persistence.hostPath Set path in case you want to use local host path volumes (not recommended in production)
- ## @param mariadb.primary.persistence.existingClaim Name of an existing `PersistentVolumeClaim` for MariaDB primary replicas
- ##
- persistence:
- enabled: true
- ## mariadb data Persistent Volume Storage Class
- ## If defined, storageClassName: <storageClass>
- ## If set to "-", storageClassName: "", which disables dynamic provisioning
- ## If undefined (the default) or set to null, no storageClassName spec is
- ## set, choosing the default provisioner. (gp2 on AWS, standard on
- ## GKE, AWS & OpenStack)
- ##
- storageClass: ""
- accessModes:
- - ReadWriteOnce
- size: 8Gi
- hostPath: ""
- existingClaim: ""
- ## External database configuration
- ## @param externalDatabase.host Host of the existing database
- ## @param externalDatabase.port Port of the existing database
- ## @param externalDatabase.user Existing username in the external db
- ## @param externalDatabase.password Password for the above username
- ## @param externalDatabase.database Name of the existing database
- ##
- externalDatabase:
- host: ""
- port: 3306
- user: bn_drupal
- password: ""
- database: bitnami_drupal
- ## @section Volume Permissions parameters
- ## Init containers parameters:
- ## volumePermissions: Change the owner and group of the persistent volume mountpoint to runAsUser:fsGroup values from the securityContext section.
- ##
- volumePermissions:
- ## @param volumePermissions.enabled Enable init container that changes volume permissions in the data directory (for cases where the default k8s `runAsUser` and `fsUser` values do not work)
- ##
- enabled: false
- ## @param volumePermissions.image.registry Init container volume-permissions image registry
- ## @param volumePermissions.image.repository Init container volume-permissions image name
- ## @param volumePermissions.image.tag Init container volume-permissions image tag
- ## @param volumePermissions.image.pullPolicy Init container volume-permissions image pull policy
- ## @param volumePermissions.image.pullSecrets Specify docker-registry secret names as an array
- ##
- image:
- registry: docker.io
- repository: bitnami/bitnami-shell
- tag: 10-debian-10-r328
- pullPolicy: IfNotPresent
- ## Optionally specify an array of imagePullSecrets.
- ## Secrets must be manually created in the namespace.
- ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
- ## e.g:
- ## pullSecrets:
- ## - myRegistryKeySecretName
- ##
- pullSecrets: []
- ## Init containers' resource requests and limits
- ## ref: https://kubernetes.io/docs/user-guide/compute-resources/
- ## We usually recommend not to specify default resources and to leave this as a conscious
- ## choice for the user. This also increases chances charts run on environments with little
- ## resources, such as Minikube. If you do want to specify resources, uncomment the following
- ## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
- ## @param volumePermissions.resources.limits The resources limits for the container
- ## @param volumePermissions.resources.requests The requested resources for the container
- ##
- resources:
- ## Example:
- ## limits:
- ## cpu: 100m
- ## memory: 128Mi
- limits: {}
- ## Examples:
- ## requests:
- ## cpu: 100m
- ## memory: 128Mi
- requests: {}
- ## @section Metrics parameters
- ## Prometheus Exporter / Metrics
- ##
- metrics:
- ## @param metrics.enabled Start a exporter side-car
- ##
- enabled: false
- ## @param metrics.image.registry Apache exporter image registry
- ## @param metrics.image.repository Apache exporter image repository
- ## @param metrics.image.tag Apache exporter image tag
- ## @param metrics.image.pullPolicy Image pull policy
- ## @param metrics.image.pullSecrets Specify docker-registry secret names as an array
- ##
- image:
- registry: docker.io
- repository: bitnami/apache-exporter
- tag: 0.11.0-debian-10-r46
- pullPolicy: IfNotPresent
- ## Optionally specify an array of imagePullSecrets.
- ## Secrets must be manually created in the namespace.
- ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
- ## e.g:
- ## pullSecrets:
- ## - myRegistryKeySecretName
- ##
- pullSecrets: []
- ## @param metrics.resources Metrics exporter resource requests and limits
- ## ref: https://kubernetes.io/docs/user-guide/compute-resources/
- ##
- resources: {}
- ##
- ## @param metrics.podAnnotations [object] Additional annotations for Metrics exporter pod
- ##
- podAnnotations:
- prometheus.io/scrape: "true"
- prometheus.io/port: "9117"
- ## @section Certificate injection parameters
- ## Add custom certificates and certificate authorities to drupal container
- ##
- certificates:
- ## @param certificates.customCertificate.certificateSecret Secret containing the certificate and key to add
- ## @param certificates.customCertificate.chainSecret.name Name of the secret containing the certificate chain
- ## @param certificates.customCertificate.chainSecret.key Key of the certificate chain file inside the secret
- ## @param certificates.customCertificate.certificateLocation Location in the container to store the certificate
- ## @param certificates.customCertificate.keyLocation Location in the container to store the private key
- ## @param certificates.customCertificate.chainLocation Location in the container to store the certificate chain
- ##
- customCertificate:
- certificateSecret: ""
- chainSecret:
- name: secret-name
- key: secret-key
- certificateLocation: /etc/ssl/certs/ssl-cert-snakeoil.pem
- keyLocation: /etc/ssl/private/ssl-cert-snakeoil.key
- chainLocation: /etc/ssl/certs/mychain.pem
- ## @param certificates.customCAs Defines a list of secrets to import into the container trust store
- ##
- customCAs: []
- ## @param certificates.command Override default container command (useful when using custom images)
- ##
- command: []
- ## @param certificates.args Override default container args (useful when using custom images)
- ##
- args: []
- ## @param certificates.extraEnvVars Container sidecar extra environment variables (eg proxy)
- ##
- extraEnvVars: []
- ## @param certificates.extraEnvVarsCM ConfigMap containing extra env vars
- ##
- extraEnvVarsCM: ""
- ## @param certificates.extraEnvVarsSecret Secret containing extra env vars (in case of sensitive data)
- ##
- extraEnvVarsSecret: ""
- ## @param certificates.image.registry Container sidecar registry
- ## @param certificates.image.repository Container sidecar image
- ## @param certificates.image.tag Container sidecar image tag
- ## @param certificates.image.pullPolicy Container sidecar image pull policy
- ## @param certificates.image.pullSecrets Container sidecar image pull secrets
- ##
- image:
- registry: docker.io
- repository: bitnami/bitnami-shell
- tag: 10-debian-10-r328
- ## Specify a imagePullPolicy
- ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
- ## ref: https://kubernetes.io/docs/user-guide/images/#pre-pulling-images
- ##
- pullPolicy: IfNotPresent
- ## e.g:
- ## pullSecrets:
- ## - myRegistryKeySecretName
- ##
- pullSecrets: []
- ## @section NetworkPolicy parameters
- ## Add networkpolicies
- ##
- networkPolicy:
- ## @param networkPolicy.enabled Enable network policies
- ## If ingress.enabled or metrics.enabled are true, configure networkPolicy.ingress and networkPolicy.metrics selectors respectively to allow communication
- ##
- enabled: false
- ## @param networkPolicy.metrics.enabled Enable network policy for metrics (prometheus)
- ## @param networkPolicy.metrics.namespaceSelector [object] Monitoring namespace selector labels. These labels will be used to identify the prometheus' namespace.
- ## @param networkPolicy.metrics.podSelector [object] Monitoring pod selector labels. These labels will be used to identify the Prometheus pods.
- ##
- metrics:
- enabled: false
- ## e.g:
- ## podSelector:
- ## label: monitoring
- ##
- podSelector: {}
- ## e.g:
- ## namespaceSelector:
- ## label: monitoring
- ##
- namespaceSelector: {}
- ## @param networkPolicy.ingress.enabled Enable network policy for Ingress Proxies
- ## @param networkPolicy.ingress.namespaceSelector [object] Ingress Proxy namespace selector labels. These labels will be used to identify the Ingress Proxy's namespace.
- ## @param networkPolicy.ingress.podSelector [object] Ingress Proxy pods selector labels. These labels will be used to identify the Ingress Proxy pods.
- ##
- ingress:
- enabled: false
- ## e.g:
- ## podSelector:
- ## label: ingress
- ##
- podSelector: {}
- ## e.g:
- ## namespaceSelector:
- ## label: ingress
- ##
- namespaceSelector: {}
- ## @param networkPolicy.ingressRules.backendOnlyAccessibleByFrontend Enable ingress rule that makes the backend (mariadb) only accessible by drupal's pods.
- ## @param networkPolicy.ingressRules.customBackendSelector [object] Backend selector labels. These labels will be used to identify the backend pods.
- ## @param networkPolicy.ingressRules.accessOnlyFrom.enabled Enable ingress rule that makes drupal only accessible from a particular origin
- ## @param networkPolicy.ingressRules.accessOnlyFrom.namespaceSelector [object] Namespace selector label that is allowed to access drupal. This label will be used to identified the allowed namespace(s).
- ## @param networkPolicy.ingressRules.accessOnlyFrom.podSelector [object] Pods selector label that is allowed to access drupal. This label will be used to identified the allowed pod(s).
- ## @param networkPolicy.ingressRules.customRules [object] Custom network policy ingress rule
- ##
- ingressRules:
- ## mariadb backend only can be accessed from drupal
- ##
- backendOnlyAccessibleByFrontend: false
- customBackendSelector: {}
- ## Allow only from the indicated:
- accessOnlyFrom:
- enabled: false
- ## e.g:
- ## namespaceSelector:
- ## label: ingress
- ##
- namespaceSelector: {}
- ## e.g:
- ## podSelector:
- ## label: access
- ##
- podSelector: {}
- ## custom ingress rules
- ## e.g:
- ## customRules:
- ## - from:
- ## - namespaceSelector:
- ## matchLabels:
- ## label: example
- customRules: {}
- ## @param networkPolicy.egressRules.denyConnectionsToExternal Enable egress rule that denies outgoing traffic outside the cluster, except for DNS (port 53).
- ## @param networkPolicy.egressRules.customRules [object] Custom network policy rule
- ##
- egressRules:
- # Deny connections to external. This is not compatible with an external database.
- denyConnectionsToExternal: false
- ## Additional custom egress rules
- ## e.g:
- ## customRules:
- ## - to:
- ## - namespaceSelector:
- ## matchLabels:
- ## label: example
- customRules: {}
|