The Unified and Autonomous Development Platform
fix: add access mode and optional selectors
Khaliq2d15a2b3b31d
diff --git a/server-product/helm/templates/pvc.yml b/server-product/helm/templates/pvc.yamlsimilarity index 70%rename from server-product/helm/templates/pvc.ymlrename to server-product/helm/templates/pvc.yamlindex 322ce4595a..532a532aca 100644--- a/server-product/helm/templates/pvc.yml+++ b/server-product/helm/templates/pvc.yaml@@ -10,4 +10,9 @@ spec:requests:storage: {{ .Values.persistence.size | quote }}storageClassName: {{ default "" .Values.persistence.storageClassName }}+ accessModes:+ - {{ default "ReadWriteOnce" .Values.persistence.accessModes }}+ {{- if .Values.persistence.selector }}+ selector: {{ toYaml .Values.persistence.selector | nindent 8 }}+ {{- end }}{{- end }}