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: global:
meilisearch: meilisearch:
kyoo_back: kyoo_back:
host: kyoo-meilisearch.kyoo host: kyoo-meilisearch.kyoo.svc.cluster.local
postgres: postgres:
# postgres instance information to connect to back's database # postgres instance information to connect to back's database
kyoo_back: kyoo_back:
host: cluster01.postgres host: cluster01.postgres.svc.cluster.local
# postgres instance information to connect to transcoder's database # postgres instance information to connect to transcoder's database
kyoo_transcoder: kyoo_transcoder:
host: cluster01.postgres host: cluster01.postgres.svc.cluster.local
rabbitmq: rabbitmq:
host: cluster01.rabbitmq host: cluster01.rabbitmq.svc.cluster.local
kyoo: kyoo:
address: https://kyoo.mydomain.com address: https://kyoo.mydomain.com
# leverage NFS for media # leverage NFS for media
@ -88,10 +88,6 @@ media:
nfs: nfs:
server: mynasserver server: mynasserver
path: /spin0/media 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: 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: media:
# specifies the volumes to use # specifies the volumes to use
volumes: 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 - name: media
persistentVolumeClaim: persistentVolumeClaim:
claimName: media claimName: media
# specifies where to mount the volumes # specifies where to mount the volumes
# note that this should align with .media.baseMountPath # note that this should align with .media.baseMountPath
volumeMounts: volumeMounts:
- mountPath: /data - mountPath: /media
name: media name: media
readOnly: true
# configures kyoo workloads to search # configures kyoo workloads to search
# note that this should align with .media.volumeMounts[].mountPath # note that this should align with .media.volumeMounts[].mountPath
baseMountPath: "/data" baseMountPath: "/media"
# configures workloads that require access to contentdatabase # configures workloads that require access to contentdatabase
contentdatabase: contentdatabase: