k3s-cluster/kubernetes/main/apps/media/jellyfin/helm-release.yaml

78 lines
1.8 KiB
YAML

# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: jellyfin
namespace: media
spec:
interval: 5m
chart:
spec:
chart: app-template
version: 3.3.2
sourceRef:
kind: HelmRepository
name: bjws-charts
namespace: flux-system
values:
controllers:
main:
containers:
app:
image:
repository: linuxserver/jellyfin
tag: 10.10.3
env:
PUID: 10000
PGID: 10000
TZ: America/New_York
resources:
# requests:
# cpu: 100m
limits:
gpu.intel.com/i915: 1
memory: 16Gi
defaultPodOptions:
nodeSelector:
intel.feature.node.kubernetes.io/gpu: "true"
service:
app:
controller: main
ports:
http:
port: 8096
ingress:
main:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
traefik.ingress.kubernetes.io/router.entrypoints: websecure
hosts:
- host: "watch.${SECRET_NEW_DOMAIN}"
paths:
- path: /
service:
identifier: app
port: http
persistence:
config:
type: hostPath
hostPath: /mnt/MainPool/Kubernetes/jellyfin
globalMounts:
- path: /config
media:
type: hostPath
hostPath: /mnt/MainPool/Media/Media
globalMounts:
- path: /storage/Media
readOnly: true