improve docs & mount logic

This commit is contained in:
Arlan Lloyd 2024-10-26 04:47:58 +00:00
parent 4cb1c43f65
commit 492631034f
3 changed files with 15 additions and 4 deletions

View File

@ -48,7 +48,7 @@ spec:
{{- end }} {{- end }}
env: env:
- name: SCANNER_LIBRARY_ROOT - name: SCANNER_LIBRARY_ROOT
value: /data value: {{ .Values.media.baseMountPath | quote }}
- name: LIBRARY_IGNORE_PATTERN - name: LIBRARY_IGNORE_PATTERN
value: {{ .Values.kyoo.libraryIgnorePattern | quote }} value: {{ .Values.kyoo.libraryIgnorePattern | quote }}
- name: KYOO_APIKEYS - name: KYOO_APIKEYS

View File

@ -58,7 +58,7 @@ spec:
- name: GOCODER_PREFIX - name: GOCODER_PREFIX
value: "/video" value: "/video"
- name: GOCODER_SAFE_PATH - name: GOCODER_SAFE_PATH
value: "/data" value: {{ .Values.media.baseMountPath | quote }}
- name: POSTGRES_USER - name: POSTGRES_USER
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:

View File

@ -97,11 +97,17 @@ global:
passwordKey: rabbitmq_password passwordKey: rabbitmq_password
existingSecret: bigsecret existingSecret: bigsecret
# kyoo application settings
kyoo: kyoo:
# The url you can use to reach your kyoo instance. This is used during oidc to redirect users to your instance.
address: "https://kyoo.mydomain.com" address: "https://kyoo.mydomain.com"
# If this is true, new accounts wont have any permissions before you approve them in your admin dashboard.
requireAccountVerification: true requireAccountVerification: true
# Specify permissions of new accounts.
defaultPermissions: "overall.read,overall.play" defaultPermissions: "overall.read,overall.play"
# Specify permissions of guest accounts, default is no permissions.
unloggedPermissions: "" unloggedPermissions: ""
# A pattern (regex) to ignore video files.
libraryIgnorePattern: ".*/[dD]ownloads?/.*" libraryIgnorePattern: ".*/[dD]ownloads?/.*"
languages: "en" languages: "en"
# hardware acceleration profile (valid values: disabled, vaapi, qsv, nvidia) # hardware acceleration profile (valid values: disabled, vaapi, qsv, nvidia)
@ -125,16 +131,21 @@ kyoo:
scope: "email openid profile" scope: "email openid profile"
authMethod: ClientSecretBasic authMethod: ClientSecretBasic
# configures workloads that need to access media resources
media: media:
# specifies the volumes to use
volumes: volumes:
- name: media - name: media
persistentVolumeClaim: persistentVolumeClaim:
claimName: media claimName: media
# mounts should always be mounted to /data # specifies where to mount the volumes
# note that this should align with .media.baseMountPath
volumeMounts: volumeMounts:
- mountPath: /data - mountPath: /data
name: media name: media
subPath: media # configures kyoo workloads to search
# note that this should align with .media.volumeMounts[].mountPath
baseMountPath: "/data"
contentdatabase: contentdatabase:
# TheMovieDB # TheMovieDB