Skip to content

Commit

Permalink
platform-api: add volumeName parameter for mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxpiper committed Sep 15, 2024
1 parent c8df8dd commit 028959e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
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.31
version: 0.0.1-alpha.32
icon: https://github.ushahidi.org/helm-charts/icon.png
3 changes: 3 additions & 0 deletions charts/platform-api/templates/mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ metadata:
spec:
accessModes:
- {{ .Values.mysql.persistence.accessMode | quote }}
{{- if .Values.mysql.persistence.volumeName }}
volumeName: {{ .Values.mysql.persistence.volumeName | quote }}
{{- end }}
resources:
requests:
storage: {{ .Values.mysql.persistence.size | quote }}
Expand Down
1 change: 1 addition & 0 deletions charts/platform-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ mysql:
enabled: true
accessMode: ReadWriteOnce
size: 8Gi
# volumeName:
# storageClass:
# existingClaim:
annotations: {}
Expand Down

0 comments on commit 028959e

Please sign in to comment.