diff --git a/charts/platform-api/Chart.yaml b/charts/platform-api/Chart.yaml index 5fb4573..f6f26a8 100644 --- a/charts/platform-api/Chart.yaml +++ b/charts/platform-api/Chart.yaml @@ -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 diff --git a/charts/platform-api/templates/mysql.yml b/charts/platform-api/templates/mysql.yml index 2f5af33..dc5d12a 100644 --- a/charts/platform-api/templates/mysql.yml +++ b/charts/platform-api/templates/mysql.yml @@ -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 }} diff --git a/charts/platform-api/values.yaml b/charts/platform-api/values.yaml index c9bc550..099e8b5 100644 --- a/charts/platform-api/values.yaml +++ b/charts/platform-api/values.yaml @@ -189,6 +189,7 @@ mysql: enabled: true accessMode: ReadWriteOnce size: 8Gi + # volumeName: # storageClass: # existingClaim: annotations: {}