Browse Source

add feature to set custom pvc access mode, e.g. read-write-many

pull/5163/head
Semjon Geist 2 years ago
parent
commit
68aab05d48
  1. 4
      charts/nocodb/templates/pvc.yaml

4
charts/nocodb/templates/pvc.yaml

@ -5,10 +5,10 @@ metadata:
labels:
{{- include "nocodb.selectorLabels" . | nindent 8 }}
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: {{ .Values.storage.size }}
storageClassName: {{ .Values.storage.storageClassName }}
accessModes:
{{- default (toYaml .Values.storage.accessModes) "- ReadWriteMany" | nindent 4 }}
volumeMode: Filesystem

Loading…
Cancel
Save