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.existingClaim`| Use an existing PVC to persist data | `nil` |
|
||||||
| `persistence.data.subPath` | SubPath to use for existing Claim | `nil` |
|
| `persistence.data.subPath` | SubPath to use for existing Claim | `nil` |
|
||||||
| `persistence.data.storageClass` | Type of persistent volume claim | `-` |
|
| `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.size` | Size of persistent volume claim | `20Gi` |
|
||||||
| `persistence.config.existingClaim`| Use an existing PVC to persist data | `nil` |
|
| `persistence.config.existingClaim`| Use an existing PVC to persist data | `nil` |
|
||||||
| `persistence.config.subPath` | SubPath to use for existing Claim | `nil` |
|
| `persistence.config.subPath` | SubPath to use for existing Claim | `nil` |
|
||||||
| `persistence.config.storageClass` | Type of persistent volume claim | `-` |
|
| `persistence.config.storageClass` | Type of persistent volume claim | `-` |
|
||||||
|
| `persistence.config.accessMode` | Persistent volume access mode | `ReadWriteMany` |
|
||||||
| `resources` | CPU/Memory resource requests/limits | `{}` |
|
| `resources` | CPU/Memory resource requests/limits | `{}` |
|
||||||
| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` |
|
| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` |
|
||||||
| `proxy.enable` | use to enable PMS proxy environmental variable | `{false}` |
|
| `proxy.enable` | use to enable PMS proxy environmental variable | `{false}` |
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ metadata:
|
|||||||
component: data
|
component: data
|
||||||
spec:
|
spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteMany
|
- {{ .Values.persistence.data.accessMode | quote }}
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: {{ .Values.persistence.data.size | quote }}
|
storage: {{ .Values.persistence.data.size | quote }}
|
||||||
|
|||||||
@@ -90,6 +90,8 @@ persistence:
|
|||||||
# The requested size of the volume to be used when creating a
|
# The requested size of the volume to be used when creating a
|
||||||
# PersistentVolumeClaim.
|
# PersistentVolumeClaim.
|
||||||
size: 40Gi
|
size: 40Gi
|
||||||
|
# Access mode for this volume
|
||||||
|
accessMode: ReadWriteMany
|
||||||
config:
|
config:
|
||||||
# Optionally specify claimName to manually override the PVC to be used for
|
# Optionally specify claimName to manually override the PVC to be used for
|
||||||
# the config directory. If claimName is specified, storageClass and size
|
# 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
|
# The requested size of the volume to be used when creating a
|
||||||
# PersistentVolumeClaim.
|
# PersistentVolumeClaim.
|
||||||
size: 20Gi
|
size: 20Gi
|
||||||
|
# Access mode for this volume
|
||||||
accessMode: ReadWriteMany
|
accessMode: ReadWriteMany
|
||||||
|
|
||||||
resources: {}
|
resources: {}
|
||||||
|
|||||||
Reference in New Issue
Block a user