Skip to content

# mariadb

Version: 0.1.0 Type: application AppVersion: latest

MariaDB using bjw-s common chart

This chart is not maintained by any upstream projects and any issues with the chart should be raised here

Dependencies

Repository Name Version
https://bjw-s-labs.github.io/helm-charts common 4.2.0

Installing the Chart

To install the chart with the release name mariadb

helm install mariadb oci://ghcr.io/usa-reddragon/helm-charts/mariadb

Traditional

helm repo add USA-RedDragon https://charts.mcswain.dev
helm repo update
helm install mariadb USA-RedDragon/mariadb

Uninstalling the Chart

To uninstall the mariadb deployment

helm uninstall mariadb

The command removes all the Kubernetes components associated with the chart including persistent volumes and deletes the release.

Configuration

Read through the values.yaml file. It has several commented out suggested values.

Specify each parameter using the --set key=value[,key=value] argument to helm install.

helm install mariadb \
  --set env.TZ="America/New York" \
    USA-RedDragon/mariadb

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.

helm install mariadb USA-RedDragon/mariadb -f values.yaml

Values

Key Type Default Description
controllers.mariadb.containers.mariadb.env.MARIADB_DATABASE string nil Default database name.
controllers.mariadb.containers.mariadb.env.MARIADB_PASSWORD_FILE string "/secret/mariadb-password" MariaDB password file path. Must match secret volume with existing key.
controllers.mariadb.containers.mariadb.env.MARIADB_ROOT_PASSWORD_FILE string "/secret/mariadb-root-password" MariaDB root password file path. Must match secret volume with existing key.
controllers.mariadb.containers.mariadb.env.MARIADB_USER string nil Default user name.
controllers.mariadb.containers.mariadb.image.repository string "mariadb" MariaDB image repository.
controllers.mariadb.containers.mariadb.image.tag string "lts" MariaDB image tag.
controllers.mariadb.containers.mariadb.probes object See values.yaml Container probes.
controllers.mariadb.containers.mariadb.resources.limits.ephemeral-storage string "2Gi" Ephemeral storage limit.
controllers.mariadb.containers.mariadb.resources.requests.cpu string "100m" CPU reservation.
controllers.mariadb.containers.mariadb.resources.requests.ephemeral-storage string "50Mi" Ephemeral storage reservation.
controllers.mariadb.containers.mariadb.resources.requests.memory string "256Mi" Memory reservation.
controllers.mariadb.containers.mariadb.securityContext object See values.yaml Container security settings.
controllers.mariadb.pod.securityContext object See values.yaml Pod security settings.
networkpolicies.default object See values.yaml Default policy allows ingress from pods with label mariadb-client=true and disallows all egress.
networkpolicies.default.enabled bool true Enable the default network policy.
persistence.data.accessMode string "ReadWriteOnce" PVC access mode.
persistence.data.retain bool true Retain PVC when Helm chart is uninstalled.
persistence.data.size string "8Gi" PVC size.
persistence.data.storageClass string nil PVC storage class
persistence.secret.name string Release fullname Password secret name.
service.mariadb.ports.mariadb.port int 3306 Service port.

Autogenerated from chart metadata using helm-docs