add tubearchivist to jellyfin
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
job:
|
||||
schedule: "0 * * * *"
|
||||
image:
|
||||
repository: bbilly1/tubearchivist-jf
|
||||
tag: v0.1.2
|
||||
pullPolicy: IfNotPresent
|
||||
envFrom:
|
||||
persistence:
|
||||
youtube:
|
||||
claimName:
|
@@ -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
|
@@ -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
|
19
charts/tubearchivist-to-jellyfin/values.yaml
Normal file
19
charts/tubearchivist-to-jellyfin/values.yaml
Normal 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
|
Reference in New Issue
Block a user