Skip to content

Commit 3c7d92b

Browse files
authored
Merge pull request #1760 from rackerlabs/mariadb-image
feat(mariadb): do not hardcode image version
2 parents fa8c8b2 + 6fe9f2a commit 3c7d92b

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

components/openstack/templates/mariadb-instance.yaml.tpl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ spec:
1010
rootPasswordSecretKeyRef:
1111
{{ toYaml .Values.mariadb.rootPasswordSecretKeyRef | indent 4 }}
1212

13-
# renovate: datasource=docker
14-
image: docker-registry1.mariadb.com/library/mariadb:11.4.4
13+
{{- if .Values.mariadb.image }}
14+
image: {{ .Values.mariadb.image }}
15+
{{- end }}
1516
imagePullPolicy: IfNotPresent
1617

1718
port: 3306

components/openstack/values.schema.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@
106106
},
107107
"additionalProperties": false
108108
},
109+
"image": {
110+
"type": "string",
111+
"description": "container image to be used for MariaDB server pods"
112+
},
109113
"galera": {
110114
"type": "object",
111115
"properties": {

components/openstack/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ mariadb:
2727
resources:
2828
requests:
2929
storage: 10Gi
30+
# optional, defaults to operator's image
31+
# image: docker-registry1.mariadb.com/library/mariadb:11.4.4
3032

3133
# -- galera settings
3234
galera:

0 commit comments

Comments
 (0)