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: labels:
{{- include "nocodb.selectorLabels" . | nindent 8 }} {{- include "nocodb.selectorLabels" . | nindent 8 }}
spec: spec:
accessModes:
- ReadWriteMany
resources: resources:
requests: requests:
storage: {{ .Values.storage.size }} storage: {{ .Values.storage.size }}
storageClassName: {{ .Values.storage.storageClassName }} storageClassName: {{ .Values.storage.storageClassName }}
accessModes:
{{- default (toYaml .Values.storage.accessModes) "- ReadWriteMany" | nindent 4 }}
volumeMode: Filesystem volumeMode: Filesystem

Loading…
Cancel
Save