diff --git a/chart/README.md b/chart/README.md index 776a790c..aacc8d76 100644 --- a/chart/README.md +++ b/chart/README.md @@ -18,12 +18,6 @@ postgresql: enabled: true rabbitmq: enabled: true -media: - volumes: - - name: media - nfs: - server: mynasserver - path: /spin0/media extraObjects: - apiVersion: v1 kind: Secret @@ -38,6 +32,16 @@ extraObjects: rabbitmq_user: kyoo_all rabbitmq_password: youAreAmazing2 rabbitmq_cookie: mmmGoodCookie + - kind: PersistentVolumeClaim + apiVersion: v1 + metadata: + name: media + spec: + accessModes: + - "ReadOnlyMany" + resources: + requests: + storage: "3Gi" ``` ## Common Setup diff --git a/chart/values.yaml b/chart/values.yaml index 3fc2305b..89e9923f 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -141,12 +141,16 @@ kyoo: # configures workloads that require access to media media: # specifies the volumes to use - volumes: [] + volumes: + # default volume configuration to allow for easier demo and testing # most setups will aim to leverage NFS to access media # - name: media # nfs: # server: mynasserver.mydomain.com # path: /spin0/media + - name: media + persistentVolumeClaim: + claimName: media # specifies where to mount the volumes # note that this should align with .media.baseMountPath