From b1fb2a0038aa7e1eebff1928964d02bea9e89096 Mon Sep 17 00:00:00 2001 From: Arlan Lloyd Date: Mon, 23 Dec 2024 16:24:31 +0000 Subject: [PATCH] update media path --- chart/README.md | 12 ++++-------- chart/values.yaml | 12 ++++++++++-- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/chart/README.md b/chart/README.md index 450b76c2..fe6c2579 100644 --- a/chart/README.md +++ b/chart/README.md @@ -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: diff --git a/chart/values.yaml b/chart/values.yaml index 5cc3f8e1..bdbbc60b 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -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: