mariadb

by Alphani

Helm chartv10.10.4-0App 10.10.2Verified publisher

A Helm chart for MariaDB

About this chart

mariadb

A Helm chart for MariaDB

Homepage: https://github.com/roertel/helm-charts/charts/mariadb

Maintainers

NameEmailUrl
roertel[email protected]

Values

KeyTypeDefaultDescription
replicaCountint1Number of replicas. Only 1 is currently supported.
image.repositorystring"mariadb"Image to use for deploying.
image.pullPolicystring"IfNotPresent"
image.tagstringnilOverride the image tag whose default is the chart appVersion.
imagePullSecretslist[]
nameOverridestring""
fullnameOverridestring""
podAnnotationsobject{}
podSecurityContext.fsGroupint10000
securityContext.capabilities.drop[0]string"ALL"
securityContext.readOnlyRootFilesystembooltrueSome temp files are required. You can mount a temp to emptyDir or RW root
securityContext.runAsNonRootbooltrue
securityContext.runAsUserint10000
securityContext.runAsGroupint10000
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.namestring""If not set and create is true, a name is generated using the fullname template
service.typestring"ClusterIP"Service type. Change this to expose outside of K8s
service.portint3306Port to listen on
resourcesobject{}
autoscaling.enabledboolfalseNot supported at this time.
autoscaling.minReplicasint1
autoscaling.maxReplicasint1
autoscaling.targetCPUUtilizationPercentageint80
autoscaling.targetMemoryUtilizationPercentageint80
nodeSelectorobject{}
tolerationslist[]
affinityobject{}
tls.enabledboolfalseEnable TLS.
tls.requiredbooltrueRequire clients to connect with TLS?
tls.versionsstringnilAllowed TLS versions (TLSv1.2,TLSv1.3)
tls.typestring"certificate"TLS source: certificate or secret
tls.secretstring"secret-name"key, cert & chain values.
tls.certificateobject{"commonName":"example.com","issuerRef":{"name":"default"},"optional":{}}Mandatory if type is certificate.
tls.certificate.issuerRef.namestring"default"This is most likely not correct for your setup.
tls.certificate.commonNamestring"example.com"Set to the FQDN of your server
tls.image.repositorystring"ghcr.io/roertel/docker-mariadb-tls-sidecar"Image to use for the TLS refresher sidecar
tls.image.pullPolicystring"IfNotPresent"Image pull policy
tls.image.tagstring"1.0.0"Image tag
tls.securityContext.capabilities.drop[0]string"ALL"
tls.securityContext.readOnlyRootFilesystembooltrue
tls.securityContext.runAsNonRootbooltrue
tls.securityContext.runAsUserint10000
tls.securityContext.runAsGroupint10000
persistence.enabledboolfalseEnable the database to persist across restarts.
persistence.sizestring"1Gi"Database size.
persistence.storageClassstring"local-path"Storage Class for the persistent volume
readinessProbe.enabledbooltrueEnable the readiness probe
ldap.enabledboolfalseEnable LDAP authentication to MariaDB
ldap.image.repositorystring"ghcr.io/roertel/docker-nslcd-sidecar"Image to use for the LDAP sidecar
ldap.image.pullPolicystring"IfNotPresent"Image pull policy
ldap.image.tagstring"v1.0.0"Image tag
ldap.securityContext.capabilities.drop[0]string"ALL"
ldap.securityContext.readOnlyRootFilesystemboolfalseNeeds to be false if templates are in use
ldap.securityContext.runAsNonRootbooltrue
ldap.securityContext.runAsUserint999
ldap.securityContext.runAsGroupint999
ldap.uristring"ldaps://ldap.example.com/"LDAP URI or comma-delimited URI list
ldap.basestring"dc=example,dc=com"LDAP search base in DC= format
ldap.bindDnstring"cn=bind,ou=system,dc=example,dc=com"LDAP bind user
ldap.bindPwstring"SecretPasswordChangeMe"LDAP bind password
ldap.extraEnvobject{}Extra environment variables to set.
ldap.extraArgslist[]Extra arguments to pass to nslcd
mysqld.rootPasswordstringnilAdministrative (root) password or one will be generated for you
mysqld.extraEnvobject{}See https://github.com/docker-library/docs/tree/master/mariadb#environment-variables
mysqld.extraArgslist[]Extra arguments to pass to mysqld

Autogenerated from chart metadata using helm-docs v1.11.0

Deploy mariadb with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has mariadb on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartmariadb is pinned at v10.10.4-0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply