Added option for media mount to be a hostpath
This commit is contained in:
3 files changed
+12
-5
No files matched your search
@@ -90,11 +90,13 @@ helm install my-jellyfin jellyfin/jellyfin -f values.yaml
|
||||
| persistence.config.enabled | bool | `true` | set to false to use emptyDir |
|
||||
| persistence.config.size | string | `"5Gi"` | |
|
||||
| persistence.config.storageClass | string | `""` | If undefined (the default) or set to null, no storageClassName spec is set, choosing the default provisioner. |
|
||||
| persistence.media.accessMode | string | `"ReadWriteOnce"` | |
|
||||
| persistence.media.annotations | object | `{}` | Custom annotations to be added to the PVC |
|
||||
| persistence.media.accessMode | string | `"ReadWriteOnce"` | PVC specific settings, only used if type is 'pvc'. |
|
||||
| persistence.media.annotations | object | `{}` | Custom annotations to be added to the PVC, only used if type is 'pvc'. |
|
||||
| persistence.media.enabled | bool | `true` | set to false to use emptyDir |
|
||||
| persistence.media.size | string | `"25Gi"` | |
|
||||
| persistence.media.storageClass | string | `""` | If undefined (the default) or set to null, no storageClassName spec is set, choosing the default provisioner. |
|
||||
| persistence.media.hostPath | string | `""` | Path on the host node for media storage, only used if type is 'hostPath'. |
|
||||
| persistence.media.size | string | `"25Gi"` | PVC specific settings, only used if type is 'pvc'. |
|
||||
| persistence.media.storageClass | string | `""` | If undefined (the default) or set to null, no storageClassName spec is set, choosing the default provisioner. Only used if type is 'pvc'. |
|
||||
| persistence.media.type | string | `"pvc"` | Type of volume for media storage (pvc, hostPath, emptyDir). If 'enabled' is false, 'emptyDir' is used regardless of this setting. |
|
||||
| podAnnotations | object | `{}` | Annotations to add to the pod. |
|
||||
| podLabels | object | `{}` | Additional labels to add to the pod. |
|
||||
| podSecurityContext | object | `{}` | Security context for the pod. |
|
||||
|
||||
@@ -21,7 +21,7 @@ spec:
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
{{- if and .Values.persistence.media.enabled (not .Values.persistence.media.existingClaim) }}
|
||||
{{- if and .Values.persistence.media.enabled (eq .Values.persistence.media.type "pvc") (not .Values.persistence.media.existingClaim) }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
|
||||
@@ -184,6 +184,11 @@ persistence:
|
||||
media:
|
||||
# -- set to false to use emptyDir
|
||||
enabled: true
|
||||
# -- Type of volume for media storage (pvc, hostPath, emptyDir). If 'enabled' is false, 'emptyDir' is used regardless of this setting.
|
||||
type: pvc
|
||||
# -- Path on the host node for media storage, only used if type is 'hostPath'.
|
||||
hostPath: ""
|
||||
# -- PVC specific settings, only used if type is 'pvc'.
|
||||
accessMode: ReadWriteOnce
|
||||
size: 25Gi
|
||||
# -- Custom annotations to be added to the PVC
|
||||
|
||||
Reference in new issue
Block a user