mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
* [stable/mysql] Add ability to modify timezone (#7121) * Add a 'timezone' to allow timezone to be configured via TZ env * Bump version number * Slightly more descriptive README.md
This commit is contained in:
committed by
k8s-ci-robot
parent
629ac18a56
commit
dace2ddea0
@@ -1,5 +1,5 @@
|
||||
name: mysql
|
||||
version: 0.8.2
|
||||
version: 0.8.3
|
||||
appVersion: 5.7.14
|
||||
description: Fast, reliable, scalable, and easy to use open-source relational database
|
||||
system.
|
||||
|
||||
@@ -86,6 +86,7 @@ The following table lists the configurable parameters of the MySQL chart and the
|
||||
| `ssl.certificates[0].key` | Server key (private key) | `nil` |
|
||||
| `imagePullSecrets` | Name of Secret resource containing private registry credentials | `nil` |
|
||||
| `initializationFiles` | List of SQL files which are run after the container started | `nil` |
|
||||
| `timezone` | Container and mysqld timezone (TZ env) | `nil` (UTC depending on image) |
|
||||
|
||||
Some of the parameters above map to the env variables defined in the [MySQL DockerHub image](https://hub.docker.com/_/mysql/).
|
||||
|
||||
|
||||
@@ -58,6 +58,10 @@ spec:
|
||||
value: {{ default "" .Values.mysqlUser | quote }}
|
||||
- name: MYSQL_DATABASE
|
||||
value: {{ default "" .Values.mysqlDatabase | quote }}
|
||||
{{- if .Values.timezone }}
|
||||
- name: TZ
|
||||
value: {{ .Values.timezone }}
|
||||
{{- end }}
|
||||
ports:
|
||||
- name: mysql
|
||||
containerPort: 3306
|
||||
|
||||
@@ -127,3 +127,10 @@ ssl:
|
||||
# -----BEGIN RSA PRIVATE KEY-----
|
||||
# ...
|
||||
# -----END RSA PRIVATE KEY-----
|
||||
|
||||
## Populates the 'TZ' system timezone environment variable
|
||||
## ref: https://dev.mysql.com/doc/refman/5.7/en/time-zone-support.html
|
||||
##
|
||||
## Default: nil (mysql will use image's default timezone, normally UTC)
|
||||
## Example: 'Australia/Sydney'
|
||||
# timezone:
|
||||
|
||||
Reference in New Issue
Block a user