mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-30 23:45:25 +02:00
111 lines
2.6 KiB
YAML
111 lines
2.6 KiB
YAML
---
|
|
# yaml-language-server: $schema=https://kubernetes-schemas.devbu.io/helmrelease_v2beta1.json
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: &app jellyfin
|
|
namespace: default
|
|
spec:
|
|
interval: 15m
|
|
chart:
|
|
spec:
|
|
chart: app-template
|
|
version: 1.3.0
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: bjw-s
|
|
namespace: flux-system
|
|
maxHistory: 3
|
|
install:
|
|
createNamespace: true
|
|
remediation:
|
|
retries: 3
|
|
upgrade:
|
|
cleanupOnFail: true
|
|
remediation:
|
|
retries: 3
|
|
uninstall:
|
|
keepHistory: false
|
|
values:
|
|
image:
|
|
repository: ghcr.io/onedr0p/jellyfin
|
|
tag: 10.8.9@sha256:01a6497a1290b73f63251aebe6d01327c15b3413c3e1013c2a396ffe116ced4d
|
|
env:
|
|
TZ: ${TIMEZONE}
|
|
service:
|
|
main:
|
|
type: LoadBalancer
|
|
loadBalancerIP: "${CLUSTER_LB_JELLYFIN}"
|
|
externalTrafficPolicy: Local
|
|
ports:
|
|
http:
|
|
port: 8096
|
|
ingress:
|
|
main:
|
|
enabled: true
|
|
ingressClassName: "nginx"
|
|
annotations:
|
|
hajimari.io/icon: simple-icons:jellyfin
|
|
hosts:
|
|
- host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- hosts:
|
|
- *host
|
|
podSecurityContext:
|
|
runAsUser: 568
|
|
runAsGroup: 568
|
|
fsGroup: 568
|
|
fsGroupChangePolicy: "OnRootMismatch"
|
|
supplementalGroups:
|
|
- 44
|
|
- 109
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
existingClaim: jellyfin-config
|
|
mountPath: /config
|
|
music:
|
|
enabled: true
|
|
type: nfs
|
|
server: "${LOCAL_LAN_TRUENAS}"
|
|
path: /mnt/storage/music
|
|
mountPath: /mnt/storage/music
|
|
photo:
|
|
enabled: true
|
|
type: nfs
|
|
server: "${LOCAL_LAN_TRUENAS}"
|
|
path: /mnt/storage/photo
|
|
mountPath: /mnt/storage/photo
|
|
video:
|
|
enabled: true
|
|
type: nfs
|
|
server: "${LOCAL_LAN_TRUENAS}"
|
|
path: /mnt/storage/video
|
|
mountPath: /mnt/storage/video
|
|
transcode:
|
|
enabled: true
|
|
type: emptyDir
|
|
cache:
|
|
enabled: true
|
|
type: emptyDir
|
|
affinity:
|
|
nodeAffinity:
|
|
requiredDuringSchedulingIgnoredDuringExecution:
|
|
nodeSelectorTerms:
|
|
- matchExpressions:
|
|
- key: feature.node.kubernetes.io/custom-intel-gpu
|
|
operator: In
|
|
values:
|
|
- "true"
|
|
resources:
|
|
requests:
|
|
gpu.intel.com/i915: 1
|
|
cpu: 100m
|
|
memory: 1Gi
|
|
limits:
|
|
gpu.intel.com/i915: 1
|
|
memory: 6Gi
|