67 lines
2.1 KiB
YAML
67 lines
2.1 KiB
YAML
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
|