update media path

This commit is contained in:
Arlan Lloyd 2024-12-23 16:24:31 +00:00
parent d90f4f3526
commit b1fb2a0038
2 changed files with 14 additions and 10 deletions

View File

@ -69,16 +69,16 @@ values.yaml configuration
global:
meilisearch:
kyoo_back:
host: kyoo-meilisearch.kyoo
host: kyoo-meilisearch.kyoo.svc.cluster.local
postgres:
# postgres instance information to connect to back's database
kyoo_back:
host: cluster01.postgres
host: cluster01.postgres.svc.cluster.local
# postgres instance information to connect to transcoder's database
kyoo_transcoder:
host: cluster01.postgres
host: cluster01.postgres.svc.cluster.local
rabbitmq:
host: cluster01.rabbitmq
host: cluster01.rabbitmq.svc.cluster.local
kyoo:
address: https://kyoo.mydomain.com
# leverage NFS for media
@ -88,10 +88,6 @@ media:
nfs:
server: mynasserver
path: /spin0/media
volumeMounts:
- name: media
mountPath: /data
readOnly: true
```
by default the chart expects to consume a Kubernetes secret named `bigsecret`. That secret should look similar to:

View File

@ -140,17 +140,25 @@ kyoo:
media:
# specifies the volumes to use
volumes:
# default volume configuration to allow for easier demo
# 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
volumeMounts:
- mountPath: /data
- mountPath: /media
name: media
readOnly: true
# configures kyoo workloads to search
# note that this should align with .media.volumeMounts[].mountPath
baseMountPath: "/data"
baseMountPath: "/media"
# configures workloads that require access to contentdatabase
contentdatabase: