values.yaml 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819
  1. ## @section Global parameters
  2. ## Global Docker image parameters
  3. ## Please, note that this will override the image parameters, including dependencies, configured to use the global value
  4. ## Current available global Docker image parameters: imageRegistry, imagePullSecrets and storageClass
  5. ## @param global.imageRegistry Global Docker image registry
  6. ## @param global.imagePullSecrets Global Docker registry secret names as an array
  7. ## @param global.storageClass Global StorageClass for Persistent Volume(s)
  8. ##
  9. global:
  10. imageRegistry: ""
  11. ## E.g.
  12. ## imagePullSecrets:
  13. ## - myRegistryKeySecretName
  14. ##
  15. imagePullSecrets: []
  16. storageClass: ""
  17. ## @section Common parameters
  18. ## @param kubeVersion Force target Kubernetes version (using Helm capabilities if not set)
  19. ##
  20. kubeVersion: ""
  21. ## @param nameOverride String to partially override drupal.fullname template (will maintain the release name)
  22. ##
  23. nameOverride: ""
  24. ## @param fullnameOverride String to fully override drupal.fullname template
  25. ##
  26. fullnameOverride: ""
  27. ## @param commonAnnotations Common annotations to add to all Drupal resources (sub-charts are not considered). Evaluated as a template
  28. ##
  29. commonAnnotations: {}
  30. ## @param commonLabels Common labels to add to all Drupal resources (sub-charts are not considered). Evaluated as a template
  31. ##
  32. commonLabels: {}
  33. ## @param extraDeploy Array of extra objects to deploy with the release (evaluated as a template).
  34. ##
  35. extraDeploy: []
  36. ## @section Drupal parameters
  37. ## Bitnami Drupal image version
  38. ## ref: https://hub.docker.com/r/bitnami/drupal/tags/
  39. ## @param image.registry Drupal image registry
  40. ## @param image.repository Drupal Image name
  41. ## @param image.tag Drupal Image tag
  42. ## @param image.pullPolicy Drupal image pull policy
  43. ## @param image.pullSecrets Specify docker-registry secret names as an array
  44. ## @param image.debug Specify if debug logs should be enabled
  45. ##
  46. image:
  47. registry: docker.io
  48. repository: bitnami/drupal
  49. tag: 9.3.4-debian-10-r0
  50. ## Specify a imagePullPolicy
  51. ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
  52. ## ref: https://kubernetes.io/docs/user-guide/images/#pre-pulling-images
  53. ##
  54. pullPolicy: IfNotPresent
  55. ## Optionally specify an array of imagePullSecrets.
  56. ## Secrets must be manually created in the namespace.
  57. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
  58. ## e.g:
  59. ## pullSecrets:
  60. ## - myRegistryKeySecretName
  61. ##
  62. pullSecrets: []
  63. ## Set to true if you would like to see extra information on logs
  64. ##
  65. debug: false
  66. ## @param replicaCount Number of Drupal Pods to run (requires ReadWriteMany PVC support)
  67. ##
  68. replicaCount: 1
  69. ## @param drupalProfile Drupal installation profile
  70. ## ref: https://github.com/bitnami/bitnami-docker-drupal#configuration
  71. ##
  72. drupalProfile: standard
  73. ## @param drupalSkipInstall Skip Drupal installation wizard. Useful for migrations and restoring from SQL dump
  74. ## ref: https://github.com/bitnami/bitnami-docker-drupal#configuration
  75. ##
  76. drupalSkipInstall: false
  77. ## @param drupalUsername User of the application
  78. ## ref: https://github.com/bitnami/bitnami-docker-drupal#configuration
  79. ##
  80. drupalUsername: user
  81. ## @param drupalPassword Application password
  82. ## Defaults to a random 10-character alphanumeric string if not set
  83. ## ref: https://github.com/bitnami/bitnami-docker-drupal#configuration
  84. ##
  85. drupalPassword: ""
  86. ## @param drupalEmail Admin email
  87. ## ref: https://github.com/bitnami/bitnami-docker-drupal#configuration
  88. ##
  89. drupalEmail: user@example.com
  90. ## @param allowEmptyPassword Allow DB blank passwords
  91. ## ref: https://github.com/bitnami/bitnami-docker-drupal#environment-variables
  92. ##
  93. allowEmptyPassword: true
  94. ## @param command Override default container command (useful when using custom images)
  95. ##
  96. command: []
  97. ## @param args Override default container args (useful when using custom images)
  98. ##
  99. args: []
  100. ## @param updateStrategy.type Update strategy - only really applicable for deployments with RWO PVs attached
  101. ## If replicas = 1, an update can get "stuck", as the previous pod remains attached to the
  102. ## PV, and the "incoming" pod can never start. Changing the strategy to "Recreate" will
  103. ## terminate the single previous pod, so that the new, incoming pod can attach to the PV
  104. ##
  105. updateStrategy:
  106. type: RollingUpdate
  107. ## @param priorityClassName Drupal pods' priorityClassName
  108. ##
  109. priorityClassName: ""
  110. ## @param schedulerName Name of the k8s scheduler (other than default)
  111. ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
  112. ##
  113. schedulerName: ""
  114. ## @param topologySpreadConstraints Topology Spread Constraints for pod assignment
  115. ## https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
  116. ## The value is evaluated as a template
  117. ##
  118. topologySpreadConstraints: []
  119. ## @param hostAliases [array] Add deployment host aliases
  120. ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
  121. ##
  122. hostAliases:
  123. ## Necessary for apache-exporter to work
  124. ##
  125. - ip: "127.0.0.1"
  126. hostnames:
  127. - "status.localhost"
  128. ## @param extraEnvVars Extra environment variables
  129. ## For example:
  130. ##
  131. extraEnvVars: []
  132. # - name: BEARER_AUTH
  133. # value: true
  134. ## @param extraEnvVarsCM ConfigMap containing extra env vars
  135. ##
  136. extraEnvVarsCM: ""
  137. ## @param extraEnvVarsSecret Secret containing extra env vars (in case of sensitive data)
  138. ##
  139. extraEnvVarsSecret: ""
  140. ## @param extraVolumes Array of extra volumes to be added to the deployment (evaluated as template). Requires setting `extraVolumeMounts`
  141. ##
  142. extraVolumes: []
  143. ## @param extraVolumeMounts Array of extra volume mounts to be added to the container (evaluated as template). Normally used with `extraVolumes`.
  144. ##
  145. extraVolumeMounts: []
  146. ## @param initContainers Add additional init containers to the pod (evaluated as a template)
  147. ##
  148. initContainers: []
  149. ## @param sidecars Attach additional containers to the pod (evaluated as a template)
  150. ##
  151. sidecars: []
  152. ## @param tolerations Tolerations for pod assignment
  153. ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
  154. ##
  155. tolerations: []
  156. ## @param existingSecret Name of a secret with the application password
  157. ##
  158. existingSecret: ""
  159. ## SMTP mail delivery configuration
  160. ## ref: https://github.com/bitnami/bitnami-docker-drupal/#smtp-configuration
  161. ## @param smtpHost SMTP host
  162. ## @param smtpPort SMTP port
  163. ## @param smtpUser SMTP user
  164. ## @param smtpPassword SMTP password
  165. ## @param smtpProtocol SMTP Protocol (options: ssl,tls, nil)
  166. ##
  167. smtpHost: ""
  168. smtpPort: ""
  169. smtpUser: ""
  170. smtpPassword: ""
  171. smtpProtocol: ""
  172. ## @param containerPorts [object] Container ports
  173. ##
  174. containerPorts:
  175. http: 8080
  176. https: 8443
  177. ## @param sessionAffinity Control where client requests go, to the same pod or round-robin. Values: ClientIP or None
  178. ## ref: https://kubernetes.io/docs/user-guide/services/
  179. ##
  180. sessionAffinity: "None"
  181. ## Enable persistence using Persistent Volume Claims
  182. ## ref: https://kubernetes.io/docs/user-guide/persistent-volumes/
  183. ##
  184. persistence:
  185. ## @param persistence.enabled Enable persistence using PVC
  186. ##
  187. enabled: true
  188. ## @param persistence.storageClass PVC Storage Class for Drupal volume
  189. ## If defined, storageClassName: <storageClass>
  190. ## If set to "-", storageClassName: "", which disables dynamic provisioning
  191. ## If undefined (the default) or set to null, no storageClassName spec is
  192. ## set, choosing the default provisioner. (gp2 on AWS, standard on
  193. ## GKE, AWS & OpenStack)
  194. ##
  195. storageClass: ""
  196. ## @param persistence.accessModes PVC Access Mode for Drupal volume
  197. ## Requires persistence.enabled: true
  198. ## If defined, PVC must be created manually before volume will be bound
  199. ##
  200. accessModes:
  201. - ReadWriteOnce
  202. ## @param persistence.size PVC Storage Request for Drupal volume
  203. ##
  204. size: 8Gi
  205. ## @param persistence.existingClaim A manually managed Persistent Volume Claim
  206. ## Requires persistence.enabled: true
  207. ## If defined, PVC must be created manually before volume will be bound
  208. ##
  209. existingClaim: ""
  210. ## @param persistence.hostPath If defined, the drupal-data volume will mount to the specified hostPath.
  211. ## Requires persistence.enabled: true
  212. ## Requires persistence.existingClaim: nil|false
  213. ## Default: nil.
  214. ##
  215. hostPath: ""
  216. ## @param persistence.annotations Persistent Volume Claim annotations
  217. ##
  218. annotations: {}
  219. ## @param podAffinityPreset Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
  220. ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
  221. ##
  222. podAffinityPreset: ""
  223. ## @param podAntiAffinityPreset Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
  224. ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
  225. ##
  226. podAntiAffinityPreset: soft
  227. ## Node affinity preset
  228. ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
  229. ## @param nodeAffinityPreset.type Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
  230. ## @param nodeAffinityPreset.key Node label key to match Ignored if `affinity` is set.
  231. ## @param nodeAffinityPreset.values Node label values to match. Ignored if `affinity` is set.
  232. ##
  233. nodeAffinityPreset:
  234. type: ""
  235. ## E.g.
  236. ## key: "kubernetes.io/e2e-az-name"
  237. ##
  238. key: ""
  239. ## E.g.
  240. ## values:
  241. ## - e2e-az1
  242. ## - e2e-az2
  243. ##
  244. values: []
  245. ## @param affinity Affinity for pod assignment
  246. ## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
  247. ## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
  248. ##
  249. affinity: {}
  250. ## @param nodeSelector Node labels for pod assignment. Evaluated as a template.
  251. ## ref: https://kubernetes.io/docs/user-guide/node-selection/
  252. ##
  253. nodeSelector: {}
  254. ## Drupal container's resource requests and limits
  255. ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
  256. ## @param resources.requests [object] The requested resources for the init container
  257. ## @param resources.limits The resources limits for the init container
  258. ##
  259. resources:
  260. requests:
  261. memory: 512Mi
  262. cpu: 300m
  263. limits: {}
  264. ## Configure Pods Security Context
  265. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
  266. ## @param podSecurityContext.enabled Enable Drupal pods' Security Context
  267. ## @param podSecurityContext.fsGroup Drupal pods' group ID
  268. ##
  269. podSecurityContext:
  270. enabled: true
  271. fsGroup: 1001
  272. ## Configure Container Security Context (only main container)
  273. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
  274. ## @param containerSecurityContext.enabled Enable Drupal containers' Security Context
  275. ## @param containerSecurityContext.runAsUser Drupal containers' Security Context
  276. ## @param containerSecurityContext.runAsNonRoot Set Controller container's Security Context runAsNonRoot
  277. ##
  278. containerSecurityContext:
  279. enabled: true
  280. runAsUser: 1001
  281. runAsNonRoot: true
  282. ## Configure extra options for startup probe
  283. ## Drupal core exposes /user/login to unauthenticated requests, making it a good
  284. ## default startup and readiness path. However, that may not always be the
  285. ## case. For example, if the image value is overridden to an image containing a
  286. ## module that alters that route, or an image that does not auto-install Drupal.
  287. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
  288. ## @param startupProbe.enabled Enable startupProbe
  289. ## @param startupProbe.path Request path for startupProbe
  290. ## @param startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
  291. ## @param startupProbe.periodSeconds Period seconds for startupProbe
  292. ## @param startupProbe.timeoutSeconds Timeout seconds for startupProbe
  293. ## @param startupProbe.failureThreshold Failure threshold for startupProbe
  294. ## @param startupProbe.successThreshold Success threshold for startupProbe
  295. ##
  296. startupProbe:
  297. enabled: false
  298. path: /user/login
  299. initialDelaySeconds: 600
  300. periodSeconds: 10
  301. timeoutSeconds: 5
  302. failureThreshold: 5
  303. successThreshold: 1
  304. ## Configure extra options for liveness probe
  305. ## Drupal core exposes /user/login to unauthenticated requests, making it a good
  306. ## default liveness and readiness path. However, that may not always be the
  307. ## case. For example, if the image value is overridden to an image containing a
  308. ## module that alters that route, or an image that does not auto-install Drupal.
  309. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
  310. ## @param livenessProbe.enabled Enable livenessProbe
  311. ## @param livenessProbe.path Request path for livenessProbe
  312. ## @param livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
  313. ## @param livenessProbe.periodSeconds Period seconds for livenessProbe
  314. ## @param livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
  315. ## @param livenessProbe.failureThreshold Failure threshold for livenessProbe
  316. ## @param livenessProbe.successThreshold Success threshold for livenessProbe
  317. ##
  318. livenessProbe:
  319. enabled: true
  320. path: /user/login
  321. initialDelaySeconds: 600
  322. periodSeconds: 10
  323. timeoutSeconds: 5
  324. failureThreshold: 5
  325. successThreshold: 1
  326. ## Configure extra options for readiness probe
  327. ## Drupal core exposes /user/login to unauthenticated requests, making it a good
  328. ## default liveness and readiness path. However, that may not always be the
  329. ## case. For example, if the image value is overridden to an image containing a
  330. ## module that alters that route, or an image that does not auto-install Drupal.
  331. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
  332. ## @param readinessProbe.enabled Enable readinessProbe
  333. ## @param readinessProbe.path Request path for readinessProbe
  334. ## @param readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
  335. ## @param readinessProbe.periodSeconds Period seconds for readinessProbe
  336. ## @param readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
  337. ## @param readinessProbe.failureThreshold Failure threshold for readinessProbe
  338. ## @param readinessProbe.successThreshold Success threshold for readinessProbe
  339. ##
  340. readinessProbe:
  341. enabled: true
  342. path: /user/login
  343. initialDelaySeconds: 30
  344. periodSeconds: 5
  345. timeoutSeconds: 1
  346. failureThreshold: 5
  347. successThreshold: 1
  348. ## @param customStartupProbe Override default startup probe
  349. ##
  350. customStartupProbe: {}
  351. ## @param customLivenessProbe Override default liveness probe
  352. ##
  353. customLivenessProbe: {}
  354. ## @param customReadinessProbe Override default readiness probe
  355. ##
  356. customReadinessProbe: {}
  357. ## @param lifecycleHooks LifecycleHook to set additional configuration at startup Evaluated as a template
  358. ##
  359. lifecycleHooks: {}
  360. ## @param podAnnotations Pod annotations
  361. ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
  362. ##
  363. podAnnotations: {}
  364. ## @param podLabels Add additional labels to the pod (evaluated as a template)
  365. ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
  366. ##
  367. podLabels: {}
  368. ## @section Traffic Exposure Parameters
  369. ## Kubernetes configuration. For minikube, set this to NodePort, elsewhere use LoadBalancer
  370. ##
  371. service:
  372. ## @param service.type Kubernetes Service type
  373. ##
  374. type: LoadBalancer
  375. ## @param service.ports.http Service HTTP port
  376. ## @param service.ports.https Service HTTPS port
  377. ##
  378. ports:
  379. http: 80
  380. https: 443
  381. ## @param service.loadBalancerSourceRanges Restricts access for LoadBalancer (only with `service.type: LoadBalancer`)
  382. ## e.g:
  383. ## loadBalancerSourceRanges:
  384. ## - 0.0.0.0/0
  385. ##
  386. loadBalancerSourceRanges: []
  387. ## @param service.loadBalancerIP loadBalancerIP for the Drupal Service (optional, cloud specific)
  388. ## ref: https://kubernetes.io/docs/user-guide/services/#type-loadbalancer
  389. loadBalancerIP: ""
  390. ## @param service.nodePorts [object] Kubernetes node port
  391. ## nodePorts:
  392. ## http: <to set explicitly, choose port between 30000-32767>
  393. ## https: <to set explicitly, choose port between 30000-32767>
  394. ##
  395. nodePorts:
  396. http: ""
  397. https: ""
  398. ## @param service.externalTrafficPolicy Enable client source IP preservation
  399. ## ref https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
  400. ##
  401. externalTrafficPolicy: Cluster
  402. ## @param service.clusterIP %%MAIN_CONTAINER_NAME%% service Cluster IP
  403. ## e.g.:
  404. ## clusterIP: None
  405. ##
  406. clusterIP: ""
  407. ## @param service.extraPorts Extra ports to expose (normally used with the `sidecar` value)
  408. ##
  409. extraPorts: []
  410. ## @param service.annotations Additional custom annotations for %%MAIN_CONTAINER_NAME%% service
  411. ##
  412. annotations: {}
  413. ## @param service.sessionAffinity Session Affinity for Kubernetes service, can be "None" or "ClientIP"
  414. ## If "ClientIP", consecutive client requests will be directed to the same Pod
  415. ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
  416. ##
  417. sessionAffinity: None
  418. ## @param service.sessionAffinityConfig Additional settings for the sessionAffinity
  419. ## sessionAffinityConfig:
  420. ## clientIP:
  421. ## timeoutSeconds: 300
  422. ##
  423. sessionAffinityConfig: {}
  424. ## Configure the ingress resource that allows you to access the
  425. ## Drupal installation. Set up the URL
  426. ## ref: https://kubernetes.io/docs/user-guide/ingress/
  427. ##
  428. ingress:
  429. ## @param ingress.enabled Enable ingress controller resource
  430. ##
  431. enabled: false
  432. ## DEPRECATED: Use ingress.annotations instead of ingress.certManager
  433. ## certManager: false
  434. ##
  435. ## @param ingress.pathType Ingress Path type
  436. ##
  437. pathType: ImplementationSpecific
  438. ## @param ingress.apiVersion Override API Version (automatically detected if not set)
  439. ##
  440. apiVersion: ""
  441. ## @param ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
  442. ## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
  443. ## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
  444. ##
  445. ingressClassName: ""
  446. ## @param ingress.hostname Default host for the ingress resource
  447. ##
  448. hostname: drupal.local
  449. ## @param ingress.path The Path to Drupal. You may need to set this to '/*' in order to use this
  450. ## with ALB ingress controllers.
  451. ##
  452. path: /
  453. ## @param ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
  454. ## For a full list of possible ingress annotations, please see
  455. ## ref: https://github.com/kubernetes/ingress-nginx/blob/master/docs/user-guide/nginx-configuration/annotations.md
  456. ## Use this parameter to set the required annotations for cert-manager, see
  457. ## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
  458. ##
  459. ## e.g:
  460. ## annotations:
  461. ## kubernetes.io/ingress.class: nginx
  462. ## cert-manager.io/cluster-issuer: cluster-issuer-name
  463. ##
  464. annotations: {}
  465. ## @param ingress.tls Enable TLS configuration for the hostname defined at ingress.hostname parameter
  466. ## TLS certificates will be retrieved from a TLS secret with name: {{- printf "%s-tls" .Values.ingress.hostname }}
  467. ## You can use the ingress.secrets parameter to create this TLS secret or relay on cert-manager to create it
  468. ##
  469. tls: false
  470. ## @param ingress.extraHosts The list of additional hostnames to be covered with this ingress record.
  471. ## Most likely the hostname above will be enough, but in the event more hosts are needed, this is an array
  472. ## extraHosts:
  473. ## - name: drupal.local
  474. ## path: /
  475. extraHosts: []
  476. ## @param ingress.extraPaths Any additional arbitrary paths that may need to be added to the ingress under the main host.
  477. ## For example: The ALB ingress controller requires a special rule for handling SSL redirection.
  478. ## extraPaths:
  479. ## - path: /*
  480. ## backend:
  481. ## serviceName: ssl-redirect
  482. ## servicePort: use-annotation
  483. extraPaths: []
  484. ## @param ingress.extraTls The tls configuration for additional hostnames to be covered with this ingress record.
  485. ## see: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
  486. ## extraTls:
  487. ## - hosts:
  488. ## - drupal.local
  489. ## secretName: drupal.local-tls
  490. extraTls: []
  491. ## @param ingress.secrets If you're providing your own certificates, please use this to add the certificates as secrets
  492. ## key and certificate should start with -----BEGIN CERTIFICATE----- or
  493. ## -----BEGIN RSA PRIVATE KEY-----
  494. ##
  495. ## name should line up with a tlsSecret set further up
  496. ## If you're using cert-manager, this is unneeded, as it will create the secret for you if it is not set
  497. ##
  498. ## It is also possible to create and manage the certificates outside of this helm chart
  499. ## Please see README.md for more information
  500. ## Example:
  501. ## - name: drupal.local-tls
  502. ## key:
  503. ## certificate:
  504. ##
  505. secrets: []
  506. ## @section Database parameters
  507. ## MariaDB chart configuration
  508. ## https://github.com/bitnami/charts/blob/master/bitnami/mariadb/values.yaml
  509. ##
  510. mariadb:
  511. ## @param mariadb.enabled Whether to deploy a mariadb server to satisfy the applications database requirements
  512. ## To use an external database set this to false and configure the externalDatabase parameters
  513. ##
  514. enabled: true
  515. ## @param mariadb.architecture MariaDB architecture (`standalone` or `replication`)
  516. ##
  517. architecture: standalone
  518. ## MariaDB Authentication parameters
  519. ## @param mariadb.auth.rootPassword Password for the MariaDB `root` user
  520. ## @param mariadb.auth.database Database name to create
  521. ## @param mariadb.auth.username Database user to create
  522. ## @param mariadb.auth.password Password for the database
  523. ##
  524. auth:
  525. ## ref: https://github.com/bitnami/bitnami-docker-mariadb#setting-the-root-password-on-first-run
  526. ##
  527. rootPassword: ""
  528. ## ref: https://github.com/bitnami/bitnami-docker-mariadb/blob/master/README.md#creating-a-database-on-first-run
  529. ##
  530. database: bitnami_drupal
  531. ## ref: https://github.com/bitnami/bitnami-docker-mariadb/blob/master/README.md#creating-a-database-user-on-first-run
  532. ##
  533. username: bn_drupal
  534. password: ""
  535. primary:
  536. ## Enable persistence using Persistent Volume Claims
  537. ## ref: https://kubernetes.io/docs/user-guide/persistent-volumes/
  538. ## @param mariadb.primary.persistence.enabled Enable database persistence using PVC
  539. ## @param mariadb.primary.persistence.storageClass MariaDB primary persistent volume storage Class
  540. ## @param mariadb.primary.persistence.accessModes Database Persistent Volume Access Modes
  541. ## @param mariadb.primary.persistence.size Database Persistent Volume Size
  542. ## @param mariadb.primary.persistence.hostPath Set path in case you want to use local host path volumes (not recommended in production)
  543. ## @param mariadb.primary.persistence.existingClaim Name of an existing `PersistentVolumeClaim` for MariaDB primary replicas
  544. ##
  545. persistence:
  546. enabled: true
  547. ## mariadb data Persistent Volume Storage Class
  548. ## If defined, storageClassName: <storageClass>
  549. ## If set to "-", storageClassName: "", which disables dynamic provisioning
  550. ## If undefined (the default) or set to null, no storageClassName spec is
  551. ## set, choosing the default provisioner. (gp2 on AWS, standard on
  552. ## GKE, AWS & OpenStack)
  553. ##
  554. storageClass: ""
  555. accessModes:
  556. - ReadWriteOnce
  557. size: 8Gi
  558. hostPath: ""
  559. existingClaim: ""
  560. ## External database configuration
  561. ## @param externalDatabase.host Host of the existing database
  562. ## @param externalDatabase.port Port of the existing database
  563. ## @param externalDatabase.user Existing username in the external db
  564. ## @param externalDatabase.password Password for the above username
  565. ## @param externalDatabase.database Name of the existing database
  566. ##
  567. externalDatabase:
  568. host: ""
  569. port: 3306
  570. user: bn_drupal
  571. password: ""
  572. database: bitnami_drupal
  573. ## @section Volume Permissions parameters
  574. ## Init containers parameters:
  575. ## volumePermissions: Change the owner and group of the persistent volume mountpoint to runAsUser:fsGroup values from the securityContext section.
  576. ##
  577. volumePermissions:
  578. ## @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)
  579. ##
  580. enabled: false
  581. ## @param volumePermissions.image.registry Init container volume-permissions image registry
  582. ## @param volumePermissions.image.repository Init container volume-permissions image name
  583. ## @param volumePermissions.image.tag Init container volume-permissions image tag
  584. ## @param volumePermissions.image.pullPolicy Init container volume-permissions image pull policy
  585. ## @param volumePermissions.image.pullSecrets Specify docker-registry secret names as an array
  586. ##
  587. image:
  588. registry: docker.io
  589. repository: bitnami/bitnami-shell
  590. tag: 10-debian-10-r328
  591. pullPolicy: IfNotPresent
  592. ## Optionally specify an array of imagePullSecrets.
  593. ## Secrets must be manually created in the namespace.
  594. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
  595. ## e.g:
  596. ## pullSecrets:
  597. ## - myRegistryKeySecretName
  598. ##
  599. pullSecrets: []
  600. ## Init containers' resource requests and limits
  601. ## ref: https://kubernetes.io/docs/user-guide/compute-resources/
  602. ## We usually recommend not to specify default resources and to leave this as a conscious
  603. ## choice for the user. This also increases chances charts run on environments with little
  604. ## resources, such as Minikube. If you do want to specify resources, uncomment the following
  605. ## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
  606. ## @param volumePermissions.resources.limits The resources limits for the container
  607. ## @param volumePermissions.resources.requests The requested resources for the container
  608. ##
  609. resources:
  610. ## Example:
  611. ## limits:
  612. ## cpu: 100m
  613. ## memory: 128Mi
  614. limits: {}
  615. ## Examples:
  616. ## requests:
  617. ## cpu: 100m
  618. ## memory: 128Mi
  619. requests: {}
  620. ## @section Metrics parameters
  621. ## Prometheus Exporter / Metrics
  622. ##
  623. metrics:
  624. ## @param metrics.enabled Start a exporter side-car
  625. ##
  626. enabled: false
  627. ## @param metrics.image.registry Apache exporter image registry
  628. ## @param metrics.image.repository Apache exporter image repository
  629. ## @param metrics.image.tag Apache exporter image tag
  630. ## @param metrics.image.pullPolicy Image pull policy
  631. ## @param metrics.image.pullSecrets Specify docker-registry secret names as an array
  632. ##
  633. image:
  634. registry: docker.io
  635. repository: bitnami/apache-exporter
  636. tag: 0.11.0-debian-10-r46
  637. pullPolicy: IfNotPresent
  638. ## Optionally specify an array of imagePullSecrets.
  639. ## Secrets must be manually created in the namespace.
  640. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
  641. ## e.g:
  642. ## pullSecrets:
  643. ## - myRegistryKeySecretName
  644. ##
  645. pullSecrets: []
  646. ## @param metrics.resources Metrics exporter resource requests and limits
  647. ## ref: https://kubernetes.io/docs/user-guide/compute-resources/
  648. ##
  649. resources: {}
  650. ##
  651. ## @param metrics.podAnnotations [object] Additional annotations for Metrics exporter pod
  652. ##
  653. podAnnotations:
  654. prometheus.io/scrape: "true"
  655. prometheus.io/port: "9117"
  656. ## @section Certificate injection parameters
  657. ## Add custom certificates and certificate authorities to drupal container
  658. ##
  659. certificates:
  660. ## @param certificates.customCertificate.certificateSecret Secret containing the certificate and key to add
  661. ## @param certificates.customCertificate.chainSecret.name Name of the secret containing the certificate chain
  662. ## @param certificates.customCertificate.chainSecret.key Key of the certificate chain file inside the secret
  663. ## @param certificates.customCertificate.certificateLocation Location in the container to store the certificate
  664. ## @param certificates.customCertificate.keyLocation Location in the container to store the private key
  665. ## @param certificates.customCertificate.chainLocation Location in the container to store the certificate chain
  666. ##
  667. customCertificate:
  668. certificateSecret: ""
  669. chainSecret:
  670. name: secret-name
  671. key: secret-key
  672. certificateLocation: /etc/ssl/certs/ssl-cert-snakeoil.pem
  673. keyLocation: /etc/ssl/private/ssl-cert-snakeoil.key
  674. chainLocation: /etc/ssl/certs/mychain.pem
  675. ## @param certificates.customCAs Defines a list of secrets to import into the container trust store
  676. ##
  677. customCAs: []
  678. ## @param certificates.command Override default container command (useful when using custom images)
  679. ##
  680. command: []
  681. ## @param certificates.args Override default container args (useful when using custom images)
  682. ##
  683. args: []
  684. ## @param certificates.extraEnvVars Container sidecar extra environment variables (eg proxy)
  685. ##
  686. extraEnvVars: []
  687. ## @param certificates.extraEnvVarsCM ConfigMap containing extra env vars
  688. ##
  689. extraEnvVarsCM: ""
  690. ## @param certificates.extraEnvVarsSecret Secret containing extra env vars (in case of sensitive data)
  691. ##
  692. extraEnvVarsSecret: ""
  693. ## @param certificates.image.registry Container sidecar registry
  694. ## @param certificates.image.repository Container sidecar image
  695. ## @param certificates.image.tag Container sidecar image tag
  696. ## @param certificates.image.pullPolicy Container sidecar image pull policy
  697. ## @param certificates.image.pullSecrets Container sidecar image pull secrets
  698. ##
  699. image:
  700. registry: docker.io
  701. repository: bitnami/bitnami-shell
  702. tag: 10-debian-10-r328
  703. ## Specify a imagePullPolicy
  704. ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
  705. ## ref: https://kubernetes.io/docs/user-guide/images/#pre-pulling-images
  706. ##
  707. pullPolicy: IfNotPresent
  708. ## e.g:
  709. ## pullSecrets:
  710. ## - myRegistryKeySecretName
  711. ##
  712. pullSecrets: []
  713. ## @section NetworkPolicy parameters
  714. ## Add networkpolicies
  715. ##
  716. networkPolicy:
  717. ## @param networkPolicy.enabled Enable network policies
  718. ## If ingress.enabled or metrics.enabled are true, configure networkPolicy.ingress and networkPolicy.metrics selectors respectively to allow communication
  719. ##
  720. enabled: false
  721. ## @param networkPolicy.metrics.enabled Enable network policy for metrics (prometheus)
  722. ## @param networkPolicy.metrics.namespaceSelector [object] Monitoring namespace selector labels. These labels will be used to identify the prometheus' namespace.
  723. ## @param networkPolicy.metrics.podSelector [object] Monitoring pod selector labels. These labels will be used to identify the Prometheus pods.
  724. ##
  725. metrics:
  726. enabled: false
  727. ## e.g:
  728. ## podSelector:
  729. ## label: monitoring
  730. ##
  731. podSelector: {}
  732. ## e.g:
  733. ## namespaceSelector:
  734. ## label: monitoring
  735. ##
  736. namespaceSelector: {}
  737. ## @param networkPolicy.ingress.enabled Enable network policy for Ingress Proxies
  738. ## @param networkPolicy.ingress.namespaceSelector [object] Ingress Proxy namespace selector labels. These labels will be used to identify the Ingress Proxy's namespace.
  739. ## @param networkPolicy.ingress.podSelector [object] Ingress Proxy pods selector labels. These labels will be used to identify the Ingress Proxy pods.
  740. ##
  741. ingress:
  742. enabled: false
  743. ## e.g:
  744. ## podSelector:
  745. ## label: ingress
  746. ##
  747. podSelector: {}
  748. ## e.g:
  749. ## namespaceSelector:
  750. ## label: ingress
  751. ##
  752. namespaceSelector: {}
  753. ## @param networkPolicy.ingressRules.backendOnlyAccessibleByFrontend Enable ingress rule that makes the backend (mariadb) only accessible by drupal's pods.
  754. ## @param networkPolicy.ingressRules.customBackendSelector [object] Backend selector labels. These labels will be used to identify the backend pods.
  755. ## @param networkPolicy.ingressRules.accessOnlyFrom.enabled Enable ingress rule that makes drupal only accessible from a particular origin
  756. ## @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).
  757. ## @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).
  758. ## @param networkPolicy.ingressRules.customRules [object] Custom network policy ingress rule
  759. ##
  760. ingressRules:
  761. ## mariadb backend only can be accessed from drupal
  762. ##
  763. backendOnlyAccessibleByFrontend: false
  764. customBackendSelector: {}
  765. ## Allow only from the indicated:
  766. accessOnlyFrom:
  767. enabled: false
  768. ## e.g:
  769. ## namespaceSelector:
  770. ## label: ingress
  771. ##
  772. namespaceSelector: {}
  773. ## e.g:
  774. ## podSelector:
  775. ## label: access
  776. ##
  777. podSelector: {}
  778. ## custom ingress rules
  779. ## e.g:
  780. ## customRules:
  781. ## - from:
  782. ## - namespaceSelector:
  783. ## matchLabels:
  784. ## label: example
  785. customRules: {}
  786. ## @param networkPolicy.egressRules.denyConnectionsToExternal Enable egress rule that denies outgoing traffic outside the cluster, except for DNS (port 53).
  787. ## @param networkPolicy.egressRules.customRules [object] Custom network policy rule
  788. ##
  789. egressRules:
  790. # Deny connections to external. This is not compatible with an external database.
  791. denyConnectionsToExternal: false
  792. ## Additional custom egress rules
  793. ## e.g:
  794. ## customRules:
  795. ## - to:
  796. ## - namespaceSelector:
  797. ## matchLabels:
  798. ## label: example
  799. customRules: {}