Skip to content

Commit 27f35a7

Browse files
committed
platform-api: add embedded database engine configuration values
1 parent 606f39c commit 27f35a7

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

charts/platform-api/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
apiVersion: v1
22
name: ushahidi-platform-api
3-
version: 0.0.1-alpha.24
3+
version: 0.0.1-alpha.25
44
icon: https://github.ushahidi.org/helm-charts/icon.png

charts/platform-api/templates/mysql.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ spec:
5959
value: ushahidi
6060
- name: MYSQL_PASSWORD
6161
value: ushahidi
62-
image: mysql:5.7
62+
{{- with .Values.mysql.image }}
63+
image: {{ empty .repository | ternary "" (print .repository "/") }}{{ .name }}:{{ .tag }}
64+
{{- end }}
6365
imagePullPolicy: Always
6466
name: mysql
6567
ports:

charts/platform-api/values.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,10 @@ crond:
181181
mysql:
182182
## Set to false to disable
183183
enabled: true
184+
image:
185+
repository: ""
186+
name: mysql
187+
tag: 5.7
184188
persistence:
185189
enabled: true
186190
accessMode: ReadWriteOnce

0 commit comments

Comments
 (0)