mirror of
https://github.com/bitnami/charts.git
synced 2026-03-01 06:58:20 +08:00
* [bitnami/magento] Release 23.0.3 updating components versions Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> --------- Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
1032 lines
42 KiB
YAML
1032 lines
42 KiB
YAML
# Copyright VMware, Inc.
|
|
# SPDX-License-Identifier: APACHE-2.0
|
|
|
|
## @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 magento.fullname template
|
|
##
|
|
nameOverride: ""
|
|
## @param fullnameOverride String to fully override magento.fullname template
|
|
##
|
|
fullnameOverride: ""
|
|
## @param namespaceOverride String to fully override common.names.namespace
|
|
##
|
|
namespaceOverride: ""
|
|
## @param commonAnnotations Annotations to add to all deployed objects
|
|
##
|
|
commonAnnotations: {}
|
|
## @param commonLabels Labels to add to all deployed objects
|
|
##
|
|
commonLabels: {}
|
|
## @param extraDeploy Array of extra objects to deploy with the release (evaluated as a template).
|
|
##
|
|
extraDeploy: []
|
|
## Enable diagnostic mode in the deployment
|
|
##
|
|
diagnosticMode:
|
|
## @param diagnosticMode.enabled Enable diagnostic mode (all probes will be disabled and the command will be overridden)
|
|
##
|
|
enabled: false
|
|
## @param diagnosticMode.command Command to override all containers in the deployment
|
|
##
|
|
command:
|
|
- sleep
|
|
## @param diagnosticMode.args Args to override all containers in the deployment
|
|
##
|
|
args:
|
|
- infinity
|
|
|
|
## @section Magento parameters
|
|
|
|
## Bitnami Magento image version
|
|
## ref: https://hub.docker.com/r/bitnami/magento/tags/
|
|
## @param image.registry Magento image registry
|
|
## @param image.repository Magento image repository
|
|
## @param image.tag Magento image tag (immutable tags are recommended)
|
|
## @param image.digest Magento image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
|
|
## @param image.pullPolicy Magento 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/magento
|
|
tag: 2.4.6-debian-11-r69
|
|
digest: ""
|
|
## 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/
|
|
## Example:
|
|
## pullSecrets:
|
|
## - myRegistryKeySecretName
|
|
##
|
|
pullSecrets: []
|
|
## Set to true if you would like to see extra information on logs
|
|
##
|
|
debug: false
|
|
## @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 replicaCount Number of Magento Pods to run
|
|
##
|
|
replicaCount: 1
|
|
## @param magentoSkipInstall Skip Magento installation wizard. Useful for migrations and restoring from SQL dump
|
|
## ref: https://github.com/bitnami/containers/tree/main/bitnami/magento#configuration
|
|
##
|
|
magentoSkipInstall: false
|
|
## @param magentoHost Magento host to create application URLs
|
|
## ref: https://github.com/bitnami/containers/tree/main/bitnami/magento#configuration
|
|
##
|
|
magentoHost: ""
|
|
## @param magentoUsername User of the application
|
|
## ref: https://github.com/bitnami/containers/tree/main/bitnami/magento#configuration
|
|
##
|
|
magentoUsername: user
|
|
## @param magentoPassword Application password
|
|
## Defaults to a random 10-character alphanumeric string if not set
|
|
## ref: https://github.com/bitnami/containers/tree/main/bitnami/magento#configuration
|
|
##
|
|
magentoPassword: ""
|
|
## @param magentoEmail Admin email
|
|
## ref: https://github.com/bitnami/containers/tree/main/bitnami/magento#configuration
|
|
##
|
|
magentoEmail: user@example.com
|
|
## @param magentoFirstName Magento Admin First Name
|
|
## ref: https://github.com/bitnami/containers/tree/main/bitnami/magento#configuration
|
|
##
|
|
magentoFirstName: ""
|
|
## @param magentoLastName Magento Admin Last Name
|
|
## ref: https://github.com/bitnami/containers/tree/main/bitnami/magento#configuration
|
|
##
|
|
magentoLastName: ""
|
|
## @param magentoAdminUri Magento prefix to access Magento Admin
|
|
## ref: https://github.com/bitnami/containers/tree/main/bitnami/magento#configuration
|
|
##
|
|
magentoAdminUri: ""
|
|
## @param magentoMode Magento mode
|
|
## ref: https://github.com/bitnami/containers/tree/main/bitnami/magento#configuration
|
|
##
|
|
magentoMode: ""
|
|
## @param magentoExtraInstallArgs Magento extra install args
|
|
## ref: https://github.com/bitnami/containers/tree/main/bitnami/magento#configuration
|
|
##
|
|
magentoExtraInstallArgs: ""
|
|
## @param magentoDeployStaticContent Deploy static content during the first deployment, to optimize page load time
|
|
## ref: https://github.com/bitnami/containers/tree/main/bitnami/magento#configuration
|
|
##
|
|
magentoDeployStaticContent: false
|
|
## @param magentoUseHttps Use SSL to access the Magento Store. Valid values: `true`, `false`
|
|
## ref: https://github.com/bitnami/containers/tree/main/bitnami/magento#configuration
|
|
##
|
|
magentoUseHttps: false
|
|
## @param magentoUseSecureAdmin Use SSL to access the Magento Admin. Valid values: `true`, `false`
|
|
## ref: https://github.com/bitnami/containers/tree/main/bitnami/magento#configuration
|
|
##
|
|
magentoUseSecureAdmin: false
|
|
## @param magentoSkipReindex Skip Magento Indexer reindex step during the initialization. Valid values: `true`, `false`
|
|
##
|
|
magentoSkipReindex: false
|
|
## @param allowEmptyPassword Allow DB blank passwords
|
|
## ref: https://github.com/bitnami/containers/tree/main/bitnami/magento#environment-variables
|
|
##
|
|
allowEmptyPassword: false
|
|
## @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 extraEnvVars Extra environment variables
|
|
## For example:
|
|
## - name: BEARER_AUTH
|
|
## value: true
|
|
##
|
|
extraEnvVars: []
|
|
## @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 extraContainerPorts Array of additional container ports for the Magento container
|
|
## e.g:
|
|
## extraContainerPorts:
|
|
## - name: myservice
|
|
## containerPort: 9090
|
|
##
|
|
extraContainerPorts: []
|
|
## @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 priorityClassName %%MAIN_CONTAINER_NAME%% 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 terminationGracePeriodSeconds In seconds, time the given to the %%MAIN_CONTAINER_NAME%% pod needs to terminate gracefully
|
|
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
|
|
##
|
|
terminationGracePeriodSeconds: ""
|
|
## @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 existingSecret Name of a secret with the application password
|
|
##
|
|
existingSecret: ""
|
|
## @param containerPorts [object] Container ports
|
|
##
|
|
containerPorts:
|
|
http: 8080
|
|
https: 8443
|
|
## @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
|
|
##
|
|
nodeAffinityPreset:
|
|
## @param nodeAffinityPreset.type Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
|
|
##
|
|
type: ""
|
|
## @param nodeAffinityPreset.key Node label key to match Ignored if `affinity` is set.
|
|
## E.g.
|
|
## key: "kubernetes.io/e2e-az-name"
|
|
##
|
|
key: ""
|
|
## @param nodeAffinityPreset.values Node label values to match. Ignored if `affinity` is set.
|
|
## 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
|
|
## ref: https://kubernetes.io/docs/user-guide/node-selection/
|
|
##
|
|
nodeSelector: {}
|
|
## Configure 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 resources.limits The resources limits for the Magento container
|
|
## @param resources.requests The requested resourcesc for the Magento container
|
|
##
|
|
resources:
|
|
## Example:
|
|
## limits:
|
|
## cpu: 250m
|
|
## memory: 256Mi
|
|
limits: {}
|
|
## Examples:
|
|
## requests:
|
|
## cpu: 250m
|
|
## memory: 256Mi
|
|
requests: {}
|
|
## 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 Magento pods' Security Context
|
|
## @param podSecurityContext.fsGroup Magento 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 Magento containers' Security Context
|
|
## @param containerSecurityContext.runAsUser Magento containers' Security Context
|
|
## @param containerSecurityContext.runAsNonRoot Set %%MAIN_CONTAINER_NAME%% container's Security Context runAsNonRoot
|
|
##
|
|
containerSecurityContext:
|
|
enabled: true
|
|
runAsUser: 1001
|
|
runAsNonRoot: true
|
|
## Configure extra options for liveness probe
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
|
|
## @param livenessProbe.enabled Enable 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
|
|
initialDelaySeconds: 300
|
|
periodSeconds: 10
|
|
timeoutSeconds: 5
|
|
failureThreshold: 6
|
|
successThreshold: 1
|
|
## Configure extra options for readiness probe
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
|
|
## @param readinessProbe.enabled Enable 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
|
|
initialDelaySeconds: 30
|
|
periodSeconds: 5
|
|
timeoutSeconds: 3
|
|
failureThreshold: 6
|
|
successThreshold: 1
|
|
## Configure extra options for startupProbe probe
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
|
|
## @param startupProbe.enabled Enable 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
|
|
initialDelaySeconds: 0
|
|
periodSeconds: 10
|
|
timeoutSeconds: 3
|
|
failureThreshold: 60
|
|
successThreshold: 1
|
|
## @param customLivenessProbe Override default liveness probe
|
|
##
|
|
customLivenessProbe: {}
|
|
## @param customReadinessProbe Override default readiness probe
|
|
##
|
|
customReadinessProbe: {}
|
|
## @param customStartupProbe Override default startup probe
|
|
##
|
|
customStartupProbe: {}
|
|
## @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 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 magento Monitoring namespace selector labels. These labels will be used to identify the prometheus' namespace.
|
|
## @param networkPolicy.metrics.podSelector magento 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 magento Ingress Proxy namespace selector labels. These labels will be used to identify the Ingress Proxy's namespace.
|
|
## @param networkPolicy.ingress.podSelector magento 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, elasticsearch) only accessible by magento's pods.
|
|
## @param networkPolicy.ingressRules.customBackendSelector magento Backend selector labels. These labels will be used to identify the backend pods.
|
|
## @param networkPolicy.ingressRules.accessOnlyFrom.enabled Enable ingress rule that makes magento only accessible from a particular origin
|
|
## @param networkPolicy.ingressRules.accessOnlyFrom.namespaceSelector magento Namespace selector label that is allowed to access magento. This label will be used to identified the allowed namespace(s).
|
|
## @param networkPolicy.ingressRules.accessOnlyFrom.podSelector magento Pods selector label that is allowed to access magento. This label will be used to identified the allowed pod(s).
|
|
## @param networkPolicy.ingressRules.customRules magento Custom network policy ingress rule
|
|
##
|
|
ingressRules:
|
|
## mariadb and elacticsearch backends only can be accessed from magento
|
|
##
|
|
backendOnlyAccessibleByFrontend: false
|
|
## Additional custom backend selector
|
|
## e.g:
|
|
## customBackendSelector:
|
|
## - to:
|
|
## - namespaceSelector:
|
|
## matchLabels:
|
|
## label: example
|
|
customBackendSelector: {}
|
|
## Allow only from the indicated:
|
|
##
|
|
accessOnlyFrom:
|
|
enabled: false
|
|
## e.g:
|
|
## podSelector:
|
|
## label: access
|
|
##
|
|
podSelector: {}
|
|
## e.g:
|
|
## namespaceSelector:
|
|
## label: access
|
|
##
|
|
namespaceSelector: {}
|
|
## 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 magento 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: {}
|
|
|
|
|
|
## @section Database parameters
|
|
|
|
## MariaDB chart configuration
|
|
## https://github.com/bitnami/charts/blob/main/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
|
|
## Override MariaDB default image as 10.6 is not supported https://devdocs.magento.com/guides/v2.4/install-gde/system-requirements.html#database
|
|
## ref: https://github.com/bitnami/containers/tree/main/bitnami/mariadb
|
|
## @param mariadb.image.registry MariaDB image registry
|
|
## @param mariadb.image.repository MariaDB image repository
|
|
## @param mariadb.image.tag MariaDB image tag (immutable tags are recommended)
|
|
## @param mariadb.image.digest MariaDB image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
|
|
##
|
|
image:
|
|
registry: docker.io
|
|
repository: bitnami/mariadb
|
|
tag: 10.6.15-debian-11-r2
|
|
digest: ""
|
|
## @param mariadb.architecture MariaDB architecture. Allowed values: `standalone` or `replication`
|
|
##
|
|
architecture: standalone
|
|
## MariaDB Authentication parameters
|
|
##
|
|
auth:
|
|
## @param mariadb.auth.rootPassword Password for the MariaDB `root` user
|
|
## ref: https://github.com/bitnami/containers/tree/main/bitnami/mariadb#setting-the-root-password-on-first-run
|
|
##
|
|
rootPassword: ""
|
|
## @param mariadb.auth.database Database name to create
|
|
## ref: https://github.com/bitnami/containers/blob/main/bitnami/mariadb/README.md#creating-a-database-on-first-run
|
|
##
|
|
database: bitnami_magento
|
|
## @param mariadb.auth.username Database user to create
|
|
## ref: https://github.com/bitnami/containers/blob/main/bitnami/mariadb/README.md#creating-a-database-user-on-first-run
|
|
##
|
|
username: bn_magento
|
|
## @param mariadb.auth.password Password for the database
|
|
##
|
|
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
|
|
## Set path in case you want to use local host path volumes (not recommended in production)
|
|
##
|
|
hostPath: ""
|
|
## Use an existing PVC
|
|
##
|
|
existingClaim: ""
|
|
## External database configuration
|
|
##
|
|
externalDatabase:
|
|
## @param externalDatabase.host Host of the existing database
|
|
##
|
|
host: ""
|
|
## @param externalDatabase.port Port of the existing database
|
|
##
|
|
port: 3306
|
|
## @param externalDatabase.user Existing username in the external db
|
|
##
|
|
user: bn_magento
|
|
## @param externalDatabase.password Password for the above username
|
|
##
|
|
password: ""
|
|
## @param externalDatabase.database Name of the existing database
|
|
##
|
|
database: bitnami_magento
|
|
## @param externalDatabase.existingSecret Name of an existing secret resource containing the DB password
|
|
##
|
|
existingSecret: ""
|
|
|
|
## @section Elasticsearch parameters
|
|
|
|
## Elasticsearch chart configuration
|
|
## https://github.com/bitnami/charts/blob/main/bitnami/elasticsearch/values.yaml
|
|
##
|
|
elasticsearch:
|
|
## @param elasticsearch.enabled Whether to deploy a elasticsearch server to use as magento's search engine
|
|
## To use an external server set this to false and configure the externalElasticsearch parameters
|
|
##
|
|
enabled: true
|
|
## Override Elasticsearch default image as version 8 is not supported https://devdocs.magento.com/guides/v2.4/install-gde/system-requirements.html#database
|
|
## ref: https://github.com/bitnami/containers/tree/main/bitnami/elasticsearch
|
|
## @param elasticsearch.image.registry Elasticsearch image registry
|
|
## @param elasticsearch.image.repository Elasticsearch image repository
|
|
## @param elasticsearch.image.tag Elasticsearch image tag (immutable tags are recommended)
|
|
## @param elasticsearch.image.digest Elasticsearch image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
|
|
##
|
|
image:
|
|
registry: docker.io
|
|
repository: bitnami/elasticsearch
|
|
tag: 7.17.12-debian-11-r21
|
|
digest: ""
|
|
## @param elasticsearch.sysctlImage.enabled Enable kernel settings modifier image for Elasticsearch
|
|
##
|
|
sysctlImage:
|
|
enabled: true
|
|
## Elasticsearch master-eligible node parameters
|
|
## @param elasticsearch.master.replicaCount Desired number of Elasticsearch master-eligible nodes
|
|
##
|
|
master:
|
|
replicaCount: 1
|
|
## Elasticsearch coordinating-only node parameters
|
|
## @param elasticsearch.coordinating.replicaCount Desired number of Elasticsearch coordinating-only nodes
|
|
##
|
|
coordinating:
|
|
replicaCount: 1
|
|
## Elasticsearch data node parameters
|
|
## @param elasticsearch.data.replicaCount Desired number of Elasticsearch data nodes
|
|
##
|
|
data:
|
|
replicaCount: 1
|
|
## Elasticsearch ingest node parameters
|
|
## @param elasticsearch.ingest.replicaCount Desired number of Elasticsearch ingest nodes
|
|
##
|
|
ingest:
|
|
replicaCount: 1
|
|
## External elasticsearch configuration
|
|
##
|
|
externalElasticsearch:
|
|
## @param externalElasticsearch.host Host of the external elasticsearch server
|
|
##
|
|
host: ""
|
|
## @param externalElasticsearch.port Port of the external elasticsearch server
|
|
##
|
|
port: ""
|
|
|
|
## @section Persistence parameters
|
|
|
|
## 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 Magento 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 Modes for Magento 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 Magento volume
|
|
##
|
|
size: 8Gi
|
|
## @param persistence.existingClaim An Existing PVC name for Magento volume
|
|
## Requires persistence.enabled: true
|
|
## If defined, PVC must be created manually before volume will be bound
|
|
##
|
|
existingClaim: ""
|
|
## @param persistence.hostPath Host mount path for Magento volume
|
|
## Requires persistence.enabled: true
|
|
## Requires persistence.existingClaim: nil|false
|
|
## Default: nil.
|
|
##
|
|
hostPath: ""
|
|
## @param persistence.annotations Persistent Volume Claim annotations
|
|
##
|
|
annotations: {}
|
|
## @param persistence.subPath The subdirectory of the volume to mount to, useful in dev environments and one PV for multiple services
|
|
##
|
|
subPath: ""
|
|
## @param persistence.selector Selector to match an existing Persistent Volume for WordPress data PVC
|
|
## If set, the PVC can't have a PV dynamically provisioned for it
|
|
## E.g.
|
|
## selector:
|
|
## matchLabels:
|
|
## app: my-app
|
|
##
|
|
selector: {}
|
|
## @param persistence.dataSource Custom PVC data source
|
|
##
|
|
dataSource: {}
|
|
|
|
## @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 repository
|
|
## @param volumePermissions.image.tag Init container volume-permissions image tag (immutable tags are recommended)
|
|
## @param volumePermissions.image.digest Init container volume-permissions image digest in the way sha256:aa.... Please note this parameter, if set, will override the 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/os-shell
|
|
tag: 11-debian-11-r43
|
|
digest: ""
|
|
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/
|
|
## Example:
|
|
## 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 init container
|
|
## @param volumePermissions.resources.requests The requested resourcesc for the init container
|
|
##
|
|
resources:
|
|
## Example:
|
|
## limits:
|
|
## cpu: 100m
|
|
## memory: 128Mi
|
|
limits: {}
|
|
## Examples:
|
|
## requests:
|
|
## cpu: 100m
|
|
## memory: 128Mi
|
|
requests: {}
|
|
|
|
## @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: 8080
|
|
https: 8443
|
|
## @param service.nodePorts.http Kubernetes http node port
|
|
## @param service.nodePorts.https Kubernetes https node port
|
|
## e.g:
|
|
## nodePorts:
|
|
## http: <to set explicitly, choose port between 30000-32767>
|
|
## https: <to set explicitly, choose port between 30000-32767>
|
|
##
|
|
nodePorts:
|
|
http: ""
|
|
https: ""
|
|
## @param service.clusterIP Static clusterIP or None for headless services
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#choosing-your-own-ip-address
|
|
## e.g:
|
|
## clusterIP: None
|
|
##
|
|
clusterIP: ""
|
|
## @param service.loadBalancerSourceRanges Control hosts connecting to "LoadBalancer" only
|
|
## loadBalancerSourceRanges:
|
|
## - 0.0.0.0/0
|
|
##
|
|
loadBalancerSourceRanges: []
|
|
## @param service.loadBalancerIP loadBalancerIP for the Magento Service (optional, cloud specific)
|
|
## ref: https://kubernetes.io/docs/user-guide/services/#type-loadbalancer
|
|
##
|
|
loadBalancerIP: ""
|
|
## @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.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
|
|
## Magento installation. Set up the URL
|
|
## ref: https://kubernetes.io/docs/user-guide/ingress/
|
|
##
|
|
ingress:
|
|
## @param ingress.enabled Enable ingress controller resource
|
|
##
|
|
enabled: false
|
|
## @param ingress.pathType Default path type for the ingress resource
|
|
##
|
|
pathType: ImplementationSpecific
|
|
## @param ingress.apiVersion Override API Version (automatically detected if not set)
|
|
##
|
|
apiVersion: ""
|
|
## @param ingress.hostname Default host for the ingress resource
|
|
##
|
|
hostname: magento.local
|
|
## @param ingress.path Default path for the ingress resource
|
|
##
|
|
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 for `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, rely on cert-manager to create it, or
|
|
## let the chart create self-signed certificates for you
|
|
##
|
|
tls: false
|
|
## @param ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
|
|
##
|
|
selfSigned: 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
|
|
## Example:
|
|
## extraHosts:
|
|
## - name: magento.local
|
|
## path: /
|
|
##
|
|
extraHosts: []
|
|
## @param ingress.extraPaths An array with additional arbitrary paths that may need to be added to the ingress under the main host
|
|
## e.g:
|
|
## extraPaths:
|
|
## - path: /*
|
|
## backend:
|
|
## serviceName: ssl-redirect
|
|
## servicePort: use-annotation
|
|
##
|
|
extraPaths: []
|
|
## @param ingress.extraRules The list of additional rules to be added to this ingress record. Evaluated as a template
|
|
## Useful when looking for additional customization, such as using different backend
|
|
##
|
|
extraRules: []
|
|
## @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
|
|
## Example:
|
|
## extraTls:
|
|
## - hosts:
|
|
## - magento.local
|
|
## secretName: magento.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 secretName set further up
|
|
##
|
|
## If it is not set and you're using cert-manager, this is unneeded, as it will create the secret for you
|
|
## If it is not set and you're NOT using cert-manager either, self-signed certificates will be created
|
|
## It is also possible to create and manage the certificates outside of this helm chart
|
|
## Please see README.md for more information
|
|
##
|
|
## - name: magento.local-tls
|
|
## key:
|
|
## certificate:
|
|
##
|
|
secrets: []
|
|
## @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: ""
|
|
|
|
## @section Metrics parameters
|
|
|
|
## Prometheus Exporter / Metrics
|
|
##
|
|
metrics:
|
|
## @param metrics.enabled Start a side-car prometheus exporter
|
|
##
|
|
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 (immutable tags are recommended)
|
|
## @param metrics.image.digest Apache exporter image digest in the way sha256:aa.... Please note this parameter, if set, will override the 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: 1.0.1-debian-11-r21
|
|
digest: ""
|
|
## 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/
|
|
## Example:
|
|
## pullSecrets:
|
|
## - myRegistryKeySecretName
|
|
##
|
|
pullSecrets: []
|
|
## Metrics exporter 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 metrics.resources.limits The resources limits for the metrics container
|
|
## @param metrics.resources.requests The requested resources for the metrics container
|
|
##
|
|
resources:
|
|
## Example:
|
|
## limits:
|
|
## cpu: 250m
|
|
## memory: 256Mi
|
|
limits: {}
|
|
## Examples:
|
|
## requests:
|
|
## cpu: 250m
|
|
## memory: 256Mi
|
|
requests: {}
|
|
## Prometheus exporter service parameters
|
|
##
|
|
service:
|
|
## @param metrics.service.type Prometheus metrics service type
|
|
##
|
|
type: ClusterIP
|
|
## @param metrics.service.port Service Metrics port
|
|
##
|
|
port: 9117
|
|
## @param metrics.service.annotations [object] Annotations for the Prometheus exporter service
|
|
##
|
|
annotations:
|
|
prometheus.io/scrape: "true"
|
|
prometheus.io/port: "{{ .Values.metrics.service.port }}"
|
|
|
|
## @section Certificate injection parameters
|
|
|
|
## Add custom certificates and certificate authorities to Magento 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: ""
|
|
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)
|
|
## e.g:
|
|
## - secret: custom-CA
|
|
## - secret: more-custom-CAs
|
|
##
|
|
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 (immutable tags are recommended)
|
|
## @param certificates.image.digest Container sidecar image digest in the way sha256:aa.... Please note this parameter, if set, will override the 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/os-shell
|
|
tag: 11-debian-11-r43
|
|
digest: ""
|
|
## 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/
|
|
## Example:
|
|
## pullSecrets:
|
|
## - myRegistryKeySecretName
|
|
##
|
|
pullSecrets: []
|
|
|
|
## @section Other Parameters
|
|
|
|
## Autoscaling configuration
|
|
## @param autoscaling.enabled Enable autoscaling for replicas
|
|
## @param autoscaling.minReplicas Minimum number of replicas
|
|
## @param autoscaling.maxReplicas Maximum number of replicas
|
|
## @param autoscaling.targetCPU Target CPU utilization percentage
|
|
## @param autoscaling.targetMemory Target Memory utilization percentage
|
|
##
|
|
autoscaling:
|
|
enabled: false
|
|
minReplicas: 1
|
|
maxReplicas: 11
|
|
targetCPU: ""
|
|
targetMemory: ""
|