Skip to content

Commit

Permalink
platform-api: add embedded database engine configuration values
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxpiper committed Mar 17, 2024
1 parent 606f39c commit 27f35a7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/platform-api/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
name: ushahidi-platform-api
version: 0.0.1-alpha.24
version: 0.0.1-alpha.25
icon: https://github.ushahidi.org/helm-charts/icon.png
4 changes: 3 additions & 1 deletion charts/platform-api/templates/mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ spec:
value: ushahidi
- name: MYSQL_PASSWORD
value: ushahidi
image: mysql:5.7
{{- with .Values.mysql.image }}
image: {{ empty .repository | ternary "" (print .repository "/") }}{{ .name }}:{{ .tag }}
{{- end }}
imagePullPolicy: Always
name: mysql
ports:
Expand Down
4 changes: 4 additions & 0 deletions charts/platform-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,10 @@ crond:
mysql:
## Set to false to disable
enabled: true
image:
repository: ""
name: mysql
tag: 5.7
persistence:
enabled: true
accessMode: ReadWriteOnce
Expand Down

0 comments on commit 27f35a7

Please sign in to comment.