Accessing /docker-entrypoint-initdb.d from helm chart
My issue is more complex than it seems :https://github.com/bitnami/bitnami-docker-mariadb/issues/182
Something apart, creating a configmap does indeed work :
kubectl create configmap db-scheme --from-file=db.sqlhelm install --name db-test stable/mariadb -f .values-production.yml --set rootUser.password=ROOT_PASSWORD --set replication.password=REPLICATION_PASSWORD --set initdbScriptsConfigMap=db-scheme
That chart is a bit awkward, but let me explain, They will create this configmap which reads info of that folder (relatively of the values.yaml
path).
For your luck, you two more alternatives: