So I have a mariadb subchart. The mariadb charts fills a config map from diffrent init files with:
{{ (.Files.Glob "files/docker-entrypoint-initdb.d/*[sh|sql|sql.gz]").AsConfig | indent 2 }}
So is there anyway I can inject the init files ?
Is it possible to overwrite the context of .Files.Glob so it access my parent directory ? or is there another recommended way to create initial sql files ?
the maridb subchart is implented like this in the requirements.yaml:
dependencies:
- name: mariadb
version: 5.x.x
repository: https://kubernetes-charts.storage.googleapis.com/
condition: mariadb.enabled