Parameterize all images for mysql chart (#9986)

* Use chart values for test-framework and busybox image to allow alternate registries

Signed-off-by: Matthew DeVenny <matt@boxboat.com>

* Add new values to README

Signed-off-by: Matthew DeVenny <matt@boxboat.com>

* Fix spacing

Signed-off-by: Matthew DeVenny <matt@boxboat.com>

* Update minor version

Signed-off-by: Matthew DeVenny <matt@boxboat.com>

* Set busybox version to 1.29.3

Signed-off-by: Matthew DeVenny <matt@boxboat.com>
This commit is contained in:
boxboatmatt
2018-12-14 07:59:42 -08:00
committed by Kubernetes Prow Robot
parent cd561b01f1
commit 2760b30344
5 changed files with 15 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: mysql
version: 0.10.2
version: 0.11.0
appVersion: 5.7.14
description: Fast, reliable, scalable, and easy to use open-source relational database
system.
+4
View File
@@ -48,6 +48,10 @@ The following table lists the configurable parameters of the MySQL chart and the
| -------------------------------------------- | -------------------------------------------------------------------------------------------- | ---------------------------------------------------- |
| `image` | `mysql` image repository. | `mysql` |
| `imageTag` | `mysql` image tag. | `5.7.14` |
| `busybox.image` | `busybox` image repository. | `busybox` |
| `busybox.tag` | `busybox` image tag. | `1.29.3` |
| `testFramework.image` | `test-framework` image repository. | `dduportal/bats` |
| `testFramework.tag` | `test-framework` image tag. | `0.4.0` |
| `imagePullPolicy` | Image pull policy | `IfNotPresent` |
| `existingSecret` | Use Existing secret for Password details | `nil` |
| `extraVolumes` | Additional volumes as a string to be passed to the `tpl` function | |
+1 -1
View File
@@ -23,7 +23,7 @@ spec:
{{- end }}
initContainers:
- name: "remove-lost-found"
image: "busybox:1.25.0"
image: "{{ .Values.busybox.image}}:{{ .Values.busybox.tag }}"
imagePullPolicy: {{ .Values.imagePullPolicy | quote }}
command: ["rm", "-fr", "/var/lib/mysql/lost+found"]
volumeMounts:
+1 -1
View File
@@ -12,7 +12,7 @@ metadata:
spec:
initContainers:
- name: test-framework
image: dduportal/bats:0.4.0
image: "{{ .Values.testFramework.image}}:{{ .Values.testFramework.tag }}"
command:
- "bash"
- "-c"
+8
View File
@@ -4,6 +4,14 @@
image: "mysql"
imageTag: "5.7.14"
busybox:
image: "busybox"
tag: "1.29.3"
testFramework:
image: "dduportal/bats"
tag: "0.4.0"
## Specify password for root user
##
## Default: random 10 character string