Timezone in requirements.yaml to add dependency to a helm chart
To change MardiaDB timezone you need to edit /etc/my.cnf.d/server.conf
# this is read by the standalone daemon and embedded servers[server]default-time-zone=-06:00
The value is a string and you would need to figure out for your timezone to do so look up here.
As for helm and mariaDB chart, I was unable to find any timezone parameters you can set while deploying the chart.
So you would need to download the value.yaml from https://github.com/helm/charts/tree/master/stable/mariadb
Edit the value.yaml file and add:
extraEnvVars: - name: TZ value: "UTC"
or any other TZ you like Europe/Paris
.Once done you can use the value.yaml
in a following way:
$ helm install --name my-release stable/mariadb -f values.yaml
You can also read how to set value in dependency of helm chart.