Added jellyfin

This commit is contained in:
2024-11-06 18:30:16 +00:00
parent 225fa64f39
commit f3a230c0eb
5 changed files with 95 additions and 1 deletions

View 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

View File

@@ -14,7 +14,8 @@ spec:
path: thomflix-postinstall
helm:
releaseName: thomflix-postinstall
# valuesObject:
valuesObject:
jellyfinURL: {{ .Values.jellyfinURL }}
destination:
server: {{ .Values.mainDestination }}
namespace: {{ .Values.mainNamespace }}