[stable/mysql] Support defining PriorityClass (#10240)

Signed-off-by: Renat Galiev <renat@galiev.net>
This commit is contained in:
Renat Galiev
2018-12-25 02:57:23 -08:00
committed by Kubernetes Prow Robot
parent c7a9146024
commit 298bb7c45d
4 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: mysql
version: 0.11.0
version: 0.12.0
appVersion: 5.7.14
description: Fast, reliable, scalable, and easy to use open-source relational database
system.
+1
View File
@@ -100,6 +100,7 @@ The following table lists the configurable parameters of the MySQL chart and the
| `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 | `{}` |
| `priorityClassName` | Set pod priorityClassName | `{}` |
Some of the parameters above map to the env variables defined in the [MySQL DockerHub image](https://hub.docker.com/_/mysql/).
+3
View File
@@ -20,6 +20,9 @@ spec:
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{ toYaml .Values.imagePullSecrets | indent 8 }}
{{- end }}
{{- if .Values.priorityClassName }}
priorityClassName: "{{ .Values.priorityClassName }}"
{{- end }}
initContainers:
- name: "remove-lost-found"
+3
View File
@@ -166,3 +166,6 @@ ssl:
# To be added to the database server pod(s)
podAnnotations: {}
## Set pod priorityClassName
# priorityClassName: {}