update to support other contentdatabases

This commit is contained in:
Arlan Lloyd 2024-08-16 03:42:31 +00:00
parent f9a0063f8d
commit cdd2c3c457
3 changed files with 25 additions and 6 deletions

View File

@ -44,6 +44,8 @@ extraObjects:
# Keep those empty to use kyoo's default api key. You can also specify a custom API key if you want. # Keep those empty to use kyoo's default api key. You can also specify a custom API key if you want.
# go to https://www.themoviedb.org/settings/api and copy the api key (not the read access token, the api key) # go to https://www.themoviedb.org/settings/api and copy the api key (not the read access token, the api key)
tmdb_apikey: "" tmdb_apikey: ""
tvdb_apikey: ""
tvdb_pin: ""
#RESOURCES #RESOURCES
# meilisearch does not allow mapping their key in yet. # meilisearch does not allow mapping their key in yet.
MEILI_MASTER_KEY: barkLike8SuperDucks MEILI_MASTER_KEY: barkLike8SuperDucks

View File

@ -59,8 +59,18 @@ spec:
- name: THEMOVIEDB_APIKEY - name: THEMOVIEDB_APIKEY
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
key: {{ .Values.contentdatabase.provider.tmdb.apikeyKey }} key: {{ .Values.contentdatabase.tmdb.apikeyKey }}
name: {{ .Values.contentdatabase.provider.tmdb.existingSecret }} name: {{ .Values.contentdatabase.tmdb.existingSecret }}
- name: TVDB_APIKEY
valueFrom:
secretKeyRef:
key: {{ .Values.contentdatabase.tvdb.apikeyKey }}
name: {{ .Values.contentdatabase.tvdb.existingSecret }}
- name: TVDB_PIN
valueFrom:
secretKeyRef:
key: {{ .Values.contentdatabase.tvdb.pinKey }}
name: {{ .Values.contentdatabase.tvdb.existingSecret }}
- name: RABBITMQ_HOST - name: RABBITMQ_HOST
value: {{ .Values.global.rabbitmq.host }} value: {{ .Values.global.rabbitmq.host }}
- name: RABBITMQ_PORT - name: RABBITMQ_PORT

View File

@ -97,10 +97,17 @@ media:
subPath: media subPath: media
contentdatabase: contentdatabase:
provider: # TheMovieDB
tmdb: tmdb:
enabled: true
apikeyKey: tmdb_apikey apikeyKey: tmdb_apikey
existingSecret: bigsecret existingSecret: bigsecret
# TVDatabase
tvdb:
enabled: true
apikeyKey: tvdb_apikey
pinKey: tvdb_pin
existingSecret: bigsecret
autosync: autosync:
name: autosync name: autosync