Browse Source

Merge pull request #5163 from semmjon/pr_helm_chart_pvc_access_mode

add feature to set custom pvc access mode, e.g. read-write-many
pull/5261/head
navi 2 years ago committed by GitHub
parent
commit
e311137cf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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