Allow to specify "access mode" to data pvc (#76)
* Allow to specify "access mode" to data pvc * Updated readme * Updated values
This commit is contained in:
@@ -38,10 +38,12 @@ The following tables lists the configurable parameters of the Plex chart and the
|
||||
| `persistence.data.existingClaim`| Use an existing PVC to persist data | `nil` |
|
||||
| `persistence.data.subPath` | SubPath to use for existing Claim | `nil` |
|
||||
| `persistence.data.storageClass` | Type of persistent volume claim | `-` |
|
||||
| `persistence.data.accessMode` | Persistent volume access mode | `ReadWriteMany` |
|
||||
| `persistence.config.size` | Size of persistent volume claim | `20Gi` |
|
||||
| `persistence.config.existingClaim`| Use an existing PVC to persist data | `nil` |
|
||||
| `persistence.config.subPath` | SubPath to use for existing Claim | `nil` |
|
||||
| `persistence.config.storageClass` | Type of persistent volume claim | `-` |
|
||||
| `persistence.config.accessMode` | Persistent volume access mode | `ReadWriteMany` |
|
||||
| `resources` | CPU/Memory resource requests/limits | `{}` |
|
||||
| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` |
|
||||
| `proxy.enable` | use to enable PMS proxy environmental variable | `{false}` |
|
||||
|
||||
@@ -55,7 +55,7 @@ metadata:
|
||||
component: data
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
- {{ .Values.persistence.data.accessMode | quote }}
|
||||
resources:
|
||||
requests:
|
||||
storage: {{ .Values.persistence.data.size | quote }}
|
||||
|
||||
@@ -90,6 +90,8 @@ persistence:
|
||||
# The requested size of the volume to be used when creating a
|
||||
# PersistentVolumeClaim.
|
||||
size: 40Gi
|
||||
# Access mode for this volume
|
||||
accessMode: ReadWriteMany
|
||||
config:
|
||||
# Optionally specify claimName to manually override the PVC to be used for
|
||||
# the config directory. If claimName is specified, storageClass and size
|
||||
@@ -103,6 +105,7 @@ persistence:
|
||||
# The requested size of the volume to be used when creating a
|
||||
# PersistentVolumeClaim.
|
||||
size: 20Gi
|
||||
# Access mode for this volume
|
||||
accessMode: ReadWriteMany
|
||||
|
||||
resources: {}
|
||||
|
||||
Reference in New Issue
Block a user