allow to change accessmode for transode volume (#85)

This commit is contained in:
Devin Buhl
2020-02-04 14:41:35 -05:00
committed by GitHub
parent e853014021
commit 7c2ec8721c
3 changed files with 4 additions and 1 deletions
+1
View File
@@ -34,6 +34,7 @@ The following tables lists the configurable parameters of the Plex chart and the
| `persistence.transcode.claimName`| Use an existing PVC to persist data | `nil` |
| `persistence.transcode.subPath` | SubPath to use for existing Claim | `nil` |
| `persistence.transcode.storageClass` | Type of persistent volume claim | `-` |
| `persistence.transcode.accessMode` | Persistent volume access mode | `ReadWriteMany` |
| `persistence.data.size` | Size of persistent volume claim | `40Gi` |
| `persistence.data.claimName`| Use an existing PVC to persist data | `nil` |
| `persistence.data.subPath` | SubPath to use for existing Claim | `nil` |
+1 -1
View File
@@ -11,7 +11,7 @@ metadata:
component: transcode
spec:
accessModes:
- ReadWriteMany
- {{ .Values.persistence.config.accessMode | quote }}
resources:
requests:
storage: {{ .Values.persistence.transcode.size | quote }}
+2
View File
@@ -77,6 +77,8 @@ persistence:
# The requested size of the volume to be used when creating a
# PersistentVolumeClaim.
size: 20Gi
# Access mode for this volume
accessMode: ReadWriteMany
data:
# Optionally specify claimName to manually override the PVC to be used for
# the data directory. If claimName is specified, storageClass and size are