diff --git a/stable/mysql/Chart.yaml b/stable/mysql/Chart.yaml index 2cd106b3cf..f4de1f18c0 100755 --- a/stable/mysql/Chart.yaml +++ b/stable/mysql/Chart.yaml @@ -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. diff --git a/stable/mysql/README.md b/stable/mysql/README.md index 5bba345e51..f1abaa2705 100755 --- a/stable/mysql/README.md +++ b/stable/mysql/README.md @@ -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/). diff --git a/stable/mysql/templates/deployment.yaml b/stable/mysql/templates/deployment.yaml index e07031a10c..e1320015c2 100644 --- a/stable/mysql/templates/deployment.yaml +++ b/stable/mysql/templates/deployment.yaml @@ -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" diff --git a/stable/mysql/values.yaml b/stable/mysql/values.yaml index ed00b1f01c..a87de83822 100644 --- a/stable/mysql/values.yaml +++ b/stable/mysql/values.yaml @@ -166,3 +166,6 @@ ssl: # To be added to the database server pod(s) podAnnotations: {} + +## Set pod priorityClassName +# priorityClassName: {}