Compare commits
3 Commits
tubearchiv
...
tubearchiv
Author | SHA1 | Date | |
---|---|---|---|
42231a40f4 | |||
76c6016a9e | |||
d8e6ac1d7b |
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:
|
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: tubearchivist
|
name: tubearchivist
|
||||||
version: 0.0.2
|
version: 0.0.4
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/tubearchivist/tubearchivist
|
- https://github.com/tubearchivist/tubearchivist
|
||||||
- https://github.com/bitnami/charts/tree/main/bitnami/redis
|
- https://github.com/bitnami/charts/tree/main/bitnami/redis
|
||||||
|
@@ -36,7 +36,7 @@ spec:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
env:
|
env:
|
||||||
- name: TA_PORT
|
- name: TA_PORT
|
||||||
value: {{ .Values.service.http.port }}
|
value: {{ .Values.service.http.port | quote }}
|
||||||
{{- range $k,$v := .Values.deployment.env }}
|
{{- range $k,$v := .Values.deployment.env }}
|
||||||
- name: {{ $k }}
|
- name: {{ $k }}
|
||||||
value: {{ $v | quote }}
|
value: {{ $v | quote }}
|
||||||
|
@@ -33,6 +33,9 @@ persistence:
|
|||||||
youtube:
|
youtube:
|
||||||
claimName:
|
claimName:
|
||||||
redis:
|
redis:
|
||||||
|
image:
|
||||||
|
repository: redis/redis-stack-server
|
||||||
|
tag: 7.2.0-v9
|
||||||
architecture: standalone
|
architecture: standalone
|
||||||
auth:
|
auth:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
Reference in New Issue
Block a user