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: