Added jellyfin
This commit is contained in:
66
thomflix-argocd-apps/templates/jellyfin-chart.yaml
Normal file
66
thomflix-argocd-apps/templates/jellyfin-chart.yaml
Normal file
@@ -0,0 +1,66 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: jellyfin
|
||||||
|
namespace: {{ .Values.argocd.namespace }}
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "0"
|
||||||
|
notifications.argoproj.io/subscribe.on-sync-succeeded.telegram: "-1002270587578"
|
||||||
|
spec:
|
||||||
|
project: {{ .Values.argocd.project }}
|
||||||
|
source:
|
||||||
|
repoURL: "tccr.io/truecharts"
|
||||||
|
chart: jellyfin
|
||||||
|
targetRevision: 20.x
|
||||||
|
helm:
|
||||||
|
releaseName: jellyfin
|
||||||
|
valuesObject:
|
||||||
|
persistence:
|
||||||
|
config:
|
||||||
|
enabled: true
|
||||||
|
mountPath: "/config"
|
||||||
|
type: pvc
|
||||||
|
storageClass: {{ .Values.generalConfigStorageClass }}
|
||||||
|
size: 8Gi
|
||||||
|
accessModes: ReadWriteOnce
|
||||||
|
namespace: {{ .Values.mainNamespace }}
|
||||||
|
cache:
|
||||||
|
enabled: true
|
||||||
|
mountPath: "/cache"
|
||||||
|
type: pvc
|
||||||
|
storageClass: {{ .Values.generalConfigStorageClass }}
|
||||||
|
size: 8Gi
|
||||||
|
accessModes: ReadWriteOnce
|
||||||
|
namespace: {{ .Values.mainNamespace }}
|
||||||
|
transcode:
|
||||||
|
enabled: true
|
||||||
|
mountPath: "/config/transcodes"
|
||||||
|
type: pvc
|
||||||
|
storageClass: {{ .Values.generalConfigStorageClass }}
|
||||||
|
size: 1Gi
|
||||||
|
accessModes: ReadWriteOnce
|
||||||
|
namespace: {{ .Values.mainNamespace }}
|
||||||
|
media:
|
||||||
|
enabled: true
|
||||||
|
mountPath: "/data/media"
|
||||||
|
type: pvc
|
||||||
|
existingClaim: thomflix-media
|
||||||
|
namespace: {{ .Values.mainNamespace }}
|
||||||
|
subPath: "data/media"
|
||||||
|
chartContext.appUrl: {{ .Values.jellyfinURL }}
|
||||||
|
destination:
|
||||||
|
server: {{ .Values.mainDestination }}
|
||||||
|
namespace: {{ .Values.mainNamespace }}
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true # Automatically remove resources no longer in the repo
|
||||||
|
selfHeal: true # Automatically self-heal when drift is detected
|
||||||
|
syncOptions:
|
||||||
|
- ApplyOutOfSyncOnly=true
|
||||||
|
- ServerSideApply=true
|
||||||
|
- CreateNamespace=true
|
||||||
|
ignoreDifferences:
|
||||||
|
- group: apps
|
||||||
|
kind: Deployment
|
||||||
|
jsonPointers:
|
||||||
|
- /spec/template/spec/hostUsers
|
||||||
@@ -14,7 +14,8 @@ spec:
|
|||||||
path: thomflix-postinstall
|
path: thomflix-postinstall
|
||||||
helm:
|
helm:
|
||||||
releaseName: thomflix-postinstall
|
releaseName: thomflix-postinstall
|
||||||
# valuesObject:
|
valuesObject:
|
||||||
|
jellyfinURL: {{ .Values.jellyfinURL }}
|
||||||
destination:
|
destination:
|
||||||
server: {{ .Values.mainDestination }}
|
server: {{ .Values.mainDestination }}
|
||||||
namespace: {{ .Values.mainNamespace }}
|
namespace: {{ .Values.mainNamespace }}
|
||||||
|
|||||||
@@ -14,3 +14,5 @@ generalConfigStorageClass: default
|
|||||||
transmission:
|
transmission:
|
||||||
torrentPort: 51414
|
torrentPort: 51414
|
||||||
rpcPort: 10109
|
rpcPort: 10109
|
||||||
|
|
||||||
|
jellyfinURL: "jellyfin.domain.net"
|
||||||
|
|||||||
23
thomflix-postinstall/templates/jellyfin-ingress.yaml
Normal file
23
thomflix-postinstall/templates/jellyfin-ingress.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt
|
||||||
|
name: jellyfin-ingress
|
||||||
|
namespace: {{ .Values.mainNamespace }}
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- host: {{ .Values.jellyfinURL }}
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- pathType: Prefix
|
||||||
|
path: /
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: jellyfin
|
||||||
|
port:
|
||||||
|
number: 8096
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- {{ .Values.jellyfinURL }}
|
||||||
|
secretName: jellyfin-cert
|
||||||
@@ -3,3 +3,5 @@ tailscaleIngresses:
|
|||||||
sonarrHostname: thomflix-sonarr
|
sonarrHostname: thomflix-sonarr
|
||||||
radarrHostname: thomflix-radarr
|
radarrHostname: thomflix-radarr
|
||||||
filebrowserHostname: thomflix-files
|
filebrowserHostname: thomflix-files
|
||||||
|
mainNamespace: thomflix
|
||||||
|
jellyfinURL: "jellyfin.domain.net"
|
||||||
|
|||||||
Reference in New Issue
Block a user