mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/mysql] Add podAnnotations (#6863)
This commit is contained in:
committed by
k8s-ci-robot
parent
5ae133da2e
commit
95522dd767
@@ -1,5 +1,5 @@
|
||||
name: mysql
|
||||
version: 0.9.2
|
||||
version: 0.9.3
|
||||
appVersion: 5.7.14
|
||||
description: Fast, reliable, scalable, and easy to use open-source relational database
|
||||
system.
|
||||
|
||||
@@ -94,6 +94,7 @@ The following table lists the configurable parameters of the MySQL chart and the
|
||||
| `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) |
|
||||
| `podAnnotations` | Map of annotations to add to the pods | `{}` |
|
||||
|
||||
Some of the parameters above map to the env variables defined in the [MySQL DockerHub image](https://hub.docker.com/_/mysql/).
|
||||
|
||||
|
||||
@@ -12,6 +12,10 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
app: {{ template "mysql.fullname" . }}
|
||||
{{- with .Values.podAnnotations }}
|
||||
annotations:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if .Values.imagePullSecrets }}
|
||||
imagePullSecrets:
|
||||
|
||||
@@ -154,3 +154,6 @@ ssl:
|
||||
## Default: nil (mysql will use image's default timezone, normally UTC)
|
||||
## Example: 'Australia/Sydney'
|
||||
# timezone:
|
||||
|
||||
# To be added to the database server pod(s)
|
||||
podAnnotations: {}
|
||||
|
||||
Reference in New Issue
Block a user