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:
Cristian
2020-01-10 12:04:03 -08:00
committed by Zee Ahmed
parent a8c616065c
commit 177f5ad965
3 changed files with 6 additions and 1 deletions
+2
View File
@@ -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}` |
+1 -1
View File
@@ -55,7 +55,7 @@ metadata:
component: data
spec:
accessModes:
- ReadWriteMany
- {{ .Values.persistence.data.accessMode | quote }}
resources:
requests:
storage: {{ .Values.persistence.data.size | quote }}
+3
View File
@@ -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: {}