improve documentation

This commit is contained in:
Arlan Lloyd 2024-10-26 05:08:35 +00:00
parent 492631034f
commit 2f3e636501

View File

@ -1,3 +1,6 @@
# Kyoo consists of multiple services, please view diagrams for additional context
# https://github.com/zoriya/Kyoo/blob/master/DIAGRAMS.md
# global configures shared microservices and subcharts settings # global configures shared microservices and subcharts settings
global: global:
image: image:
@ -131,7 +134,7 @@ kyoo:
scope: "email openid profile" scope: "email openid profile"
authMethod: ClientSecretBasic authMethod: ClientSecretBasic
# configures workloads that need to access media resources # configures workloads that require access to media
media: media:
# specifies the volumes to use # specifies the volumes to use
volumes: volumes:
@ -147,6 +150,7 @@ media:
# note that this should align with .media.volumeMounts[].mountPath # note that this should align with .media.volumeMounts[].mountPath
baseMountPath: "/data" baseMountPath: "/data"
# configures workloads that require access to contentdatabase
contentdatabase: contentdatabase:
# TheMovieDB # TheMovieDB
tmdb: tmdb:
@ -158,17 +162,10 @@ contentdatabase:
pinKey: tvdb_pin pinKey: tvdb_pin
existingSecret: bigsecret existingSecret: bigsecret
ingress: # autosync deployment configuration
enabled: false
ingressClassName: ~
annotations: {}
extraAnnotations: {}
host: kyoo.mydomain.com
tls: false
tlsSecret: ~
autosync: autosync:
name: autosync name: autosync
# kyoo_autosync container configuration
kyoo_autosync: kyoo_autosync:
livenessProbe: {} livenessProbe: {}
readinessProbe: {} readinessProbe: {}
@ -194,8 +191,10 @@ autosync:
extraInitContainers: [] extraInitContainers: []
extraVolumes: [] extraVolumes: []
# back deployment configuration
back: back:
name: back name: back
# kyoo_migrations init container configuration
kyoo_migrations: kyoo_migrations:
livenessProbe: {} livenessProbe: {}
readinessProbe: {} readinessProbe: {}
@ -207,6 +206,7 @@ back:
image: image:
repository: ~ repository: ~
tag: ~ tag: ~
# kyoo_back container configuration
kyoo_back: kyoo_back:
livenessProbe: {} livenessProbe: {}
readinessProbe: {} readinessProbe: {}
@ -243,8 +243,10 @@ back:
extraInitContainers: [] extraInitContainers: []
extraVolumes: [] extraVolumes: []
# front deployment configuration
front: front:
name: front name: front
# kyoo_front container configuration
kyoo_front: kyoo_front:
livenessProbe: {} livenessProbe: {}
readinessProbe: {} readinessProbe: {}
@ -274,20 +276,23 @@ front:
extraInitContainers: [] extraInitContainers: []
extraVolumes: [] extraVolumes: []
# matcher deployment configuration
matcher: matcher:
name: matcher name: matcher
# kyoo_matcher container configuration
kyoo_matcher: kyoo_matcher:
livenessProbe: {} livenessProbe: {}
readinessProbe: {} readinessProbe: {}
resources: {} resources: {}
containerSecurityContext: {} containerSecurityContext: {}
extraVolumeMounts: [] extraVolumeMounts: []
# workaround until dedicated image is created # kyoo_matcher uses the same image as kyoo_scanner
# requires an additional argument to function as matcher
extraArgs: extraArgs:
- matcher - matcher
extraEnv: [] extraEnv: []
image: image:
# workaround until dedicated image is created # kyoo_matcher uses the same image as kyoo_scanner
repository: ghcr.io/zoriya/kyoo_scanner repository: ghcr.io/zoriya/kyoo_scanner
tag: ~ tag: ~
# matcher does not support multiple replicas # matcher does not support multiple replicas
@ -305,8 +310,10 @@ matcher:
extraInitContainers: [] extraInitContainers: []
extraVolumes: [] extraVolumes: []
# scanner deployment configuration
scanner: scanner:
name: scanner name: scanner
# kyoo_scanner container configuration
kyoo_scanner: kyoo_scanner:
livenessProbe: {} livenessProbe: {}
readinessProbe: {} readinessProbe: {}
@ -333,8 +340,10 @@ scanner:
extraInitContainers: [] extraInitContainers: []
extraVolumes: [] extraVolumes: []
# scanner deployment configuration
transcoder: transcoder:
name: transcoder name: transcoder
# kyoo_transcoder container configuration
kyoo_transcoder: kyoo_transcoder:
livenessProbe: {} livenessProbe: {}
readinessProbe: {} readinessProbe: {}
@ -375,13 +384,23 @@ transcoder:
extraInitContainers: [] extraInitContainers: []
extraVolumes: [] extraVolumes: []
ingress:
enabled: false
ingressClassName: ~
annotations: {}
extraAnnotations: {}
host: kyoo.mydomain.com
tls: false
tlsSecret: ~
# subchart settings # subchart settings
meilisearch: meilisearch:
enabled: false enabled: false
environment: environment:
MEILI_ENV: production MEILI_ENV: production
auth: auth:
# DOES NOT SUPPORT SPECIFYING KEY. MUST BE NAMED `MEILI_MASTER_KEY` # subchart does not support specifying keyname.
# key must be named `MEILI_MASTER_KEY`
existingMasterKeySecret: "{{ .Values.global.meilisearch.infra.existingSecret }}" existingMasterKeySecret: "{{ .Values.global.meilisearch.infra.existingSecret }}"
persistence: persistence:
enabled: true enabled: true
@ -391,7 +410,8 @@ meilisearch:
postgresql: postgresql:
enabled: false enabled: false
auth: auth:
# username is unable to reference global value # default user to be created by postgres subchart
# subchart is unable to consume a secret for specifying user
username: kyoo_all username: kyoo_all
existingSecret: "{{ .Values.global.postgres.infra.existingSecret }}" existingSecret: "{{ .Values.global.postgres.infra.existingSecret }}"
secretKeys: secretKeys:
@ -425,7 +445,8 @@ postgresql:
rabbitmq: rabbitmq:
enabled: false enabled: false
auth: auth:
# this will not read from a secret. just manually make the same # default user to be created by rabbitmq subchart
# subchart is unable to consume a secret for specifying user
username: kyoo_all username: kyoo_all
existingPasswordSecret: "{{ .Values.global.rabbitmq.infra.existingSecret }}" existingPasswordSecret: "{{ .Values.global.rabbitmq.infra.existingSecret }}"
existingSecretPasswordKey: "{{ .Values.global.rabbitmq.infra.passwordKey }}" existingSecretPasswordKey: "{{ .Values.global.rabbitmq.infra.passwordKey }}"