[stable/mysql] #5154 MySql: Allow to override deployment strategy (#19201)

* #5154 Allow to override mysql deployment strategy. Changed default to Recreate

Signed-off-by: Janario Oliveira <janario.oliveira@gmail.com>

* Bump mysql version

Signed-off-by: Janario Oliveira <janario.oliveira@gmail.com>

* Bump mysql version

Signed-off-by: Janario Oliveira <janario.oliveira@gmail.com>
This commit is contained in:
Janario Oliveira
2019-12-07 11:41:08 -08:00
committed by Kubernetes Prow Robot
parent 29cd4cb72f
commit 0b9ce360d8
4 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: mysql
version: 1.5.0
version: 1.6.0
appVersion: 5.7.27
description: Fast, reliable, scalable, and easy to use open-source relational database
system.
+1
View File
@@ -120,6 +120,7 @@ The following table lists the configurable parameters of the MySQL chart and the
| `podLabels` | Map of labels to add to the pods | `{}` |
| `priorityClassName` | Set pod priorityClassName | `{}` |
| `deploymentAnnotations` | Map of annotations for deployment | `{}` |
| `strategy` | Update strategy policy | `{type: "Recreate"}` |
Some of the parameters above map to the env variables defined in the [MySQL DockerHub image](https://hub.docker.com/_/mysql/).
+2
View File
@@ -14,6 +14,8 @@ metadata:
{{- end }}
spec:
strategy:
{{ toYaml .Values.strategy | indent 4 }}
selector:
matchLabels:
app: {{ template "mysql.fullname" . }}
+3
View File
@@ -4,6 +4,9 @@
image: "mysql"
imageTag: "5.7.14"
strategy:
type: Recreate
busybox:
image: "busybox"
tag: "1.29.3"