add tubearchivist-to-jellyfin
This commit is contained in:
14
charts/tubearchivist-to-jellyfin/Chart.yaml
Normal file
14
charts/tubearchivist-to-jellyfin/Chart.yaml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
name: tubearchivist-to-jellyfin
|
||||||
|
version: 0.0.1
|
||||||
|
description: Import library from tubearchivist to jellyfin
|
||||||
|
keywords:
|
||||||
|
- tubearchivist
|
||||||
|
- jellyfin
|
||||||
|
- job
|
||||||
|
sources:
|
||||||
|
- https://github.com/tubearchivist/tubearchivist-jf
|
||||||
|
maintainers:
|
||||||
|
- name: alexlebens
|
||||||
|
icon: https://avatars.githubusercontent.com/u/102734415?s=48&v=4
|
||||||
|
appVersion: "v0.1.2"
|
18
charts/tubearchivist-to-jellyfin/README.md
Normal file
18
charts/tubearchivist-to-jellyfin/README.md
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
## Introduction
|
||||||
|
|
||||||
|
[Tube Archivist Jellyfin Integration](https://github.com/tubearchivist/tubearchivist-jf)
|
||||||
|
|
||||||
|
Import your Tube Archivist media folder into Jellyfin
|
||||||
|
|
||||||
|
|
||||||
|
This chart bootstraps a [Tube Archivist Jellyfin Integration](https://github.com/tubearchivist/tubearchivist-jf) CronJob on a [Kubernetes](https://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||||
|
|
||||||
|
## Prerequisites
|
||||||
|
|
||||||
|
- Kubernetes
|
||||||
|
- Helm
|
||||||
|
- CronJob
|
||||||
|
|
||||||
|
## Parameters
|
||||||
|
|
||||||
|
See the [values files](values.yaml).
|
37
charts/tubearchivist-to-jellyfin/templates/job.yaml
Normal file
37
charts/tubearchivist-to-jellyfin/templates/job.yaml
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
apiVersion: batch/v1
|
||||||
|
kind: CronJob
|
||||||
|
metadata:
|
||||||
|
name: {{ .Release.Name }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
|
app.kubernetes.io/component: job
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
spec:
|
||||||
|
schedule: {{ .Values.job.schedule }}
|
||||||
|
successfulJobsHistoryLimit: 3
|
||||||
|
failedJobsHistoryLimit: 3
|
||||||
|
jobTemplate:
|
||||||
|
spec:
|
||||||
|
template:
|
||||||
|
spec:
|
||||||
|
restartPolicy: Never
|
||||||
|
containers:
|
||||||
|
- name: {{ .Release.Name }}
|
||||||
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||||
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
|
command: ["python"]
|
||||||
|
args: ["main.py"]
|
||||||
|
{{- with .Values.envFrom }}
|
||||||
|
envFrom:
|
||||||
|
{{- toYaml . | nindent 16 }}
|
||||||
|
{{- end }}
|
||||||
|
volumeMounts:
|
||||||
|
- name: tubearchivist-youtube
|
||||||
|
mountPath: /data
|
||||||
|
volumes:
|
||||||
|
- name: tubearchivist-youtube
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: {{ .Values.persistence.youtube.claimName }}
|
10
charts/tubearchivist-to-jellyfin/values.yaml
Normal file
10
charts/tubearchivist-to-jellyfin/values.yaml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
job:
|
||||||
|
schedule: "0 * * * *"
|
||||||
|
image:
|
||||||
|
repository: bbilly1/tubearchivist-jf
|
||||||
|
tag: v0.1.2
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
envFrom:
|
||||||
|
persistence:
|
||||||
|
youtube:
|
||||||
|
claimName:
|
Reference in New Issue
Block a user