add tubearchivist to jellyfin

This commit is contained in:
2024-04-04 23:22:14 -06:00
parent 0984e40cc8
commit 270b62be53
5 changed files with 37 additions and 15 deletions

View File

@@ -1,10 +0,0 @@
job:
schedule: "0 * * * *"
image:
repository: bbilly1/tubearchivist-jf
tag: v0.1.2
pullPolicy: IfNotPresent
envFrom:
persistence:
youtube:
claimName:

View File

@@ -1,6 +1,6 @@
apiVersion: v2
name: tubearchivist-to-jellyfin
version: 0.0.3
version: 0.0.4
description: Import library from tubearchivist to jellyfin
keywords:
- tubearchivist

View File

@@ -24,10 +24,23 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
command: ["python"]
args: ["main.py"]
{{- with .Values.envFrom }}
envFrom:
{{- toYaml . | nindent 16 }}
{{- end }}
env:
- name: TA_URL
value: "{{ .Values.config.tubearchivistUrl }}"
- name: TA_TOKEN
valueFrom:
secretKeyRef:
name: "{{ .Values.secrets.tubearchivistToken.existingSecretName }}"
key: "{{ .Values.secrets.tubearchivistToken.existingSecretKey }}"
- name: JF_URL
value: "{{ .Values.config.jellyfinUrl }}"
- name: JF_TOKEN
valueFrom:
secretKeyRef:
name: "{{ .Values.secrets.jellyfinToken.existingSecretName }}"
key: "{{ .Values.secrets.jellyfinToken.existingSecretKey }}"
- name: LISTEN_PORT
value: "8001"
volumeMounts:
- name: tubearchivist-youtube
mountPath: /youtube

View File

@@ -0,0 +1,19 @@
job:
schedule: "0 * * * *"
image:
repository: bbilly1/tubearchivist-jf
tag: v0.1.2
pullPolicy: IfNotPresent
persistence:
youtube:
claimName: ""
config:
tubearchivistUrl: ""
jellyfinUrl: ""
secrets:
tubearchivistToken:
existingSecretName: ""
existingSecretKey: token
jellyfinToken:
existingSecretName: ""
existingSecretKey: token