[stable/mysql] Add podAnnotations (#6863)

This commit is contained in:
Andrew Plummer
2018-08-20 07:09:46 -07:00
committed by k8s-ci-robot
parent 5ae133da2e
commit 95522dd767
4 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -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.
+1
View File
@@ -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/).
+4
View File
@@ -12,6 +12,10 @@ spec:
metadata:
labels:
app: {{ template "mysql.fullname" . }}
{{- with .Values.podAnnotations }}
annotations:
{{ toYaml . | indent 8 }}
{{- end }}
spec:
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
+3
View File
@@ -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: {}