Files
auricom-home-cluster/kubernetes/apps/default/jellyseerr/app/helmrelease.yaml
2025-06-21 23:56:39 +02:00

104 lines
2.7 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: &app jellyseerr
spec:
interval: 1h
chartRef:
kind: OCIRepository
name: app-template
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
strategy: rollback
retries: 3
values:
controllers:
jellyseerr:
annotations:
reloader.stakater.com/auto: "true"
containers:
app:
image:
repository: ghcr.io/fallenbagel/jellyseerr
tag: 2.6.0@sha256:8f320036d937d84c385ea5800f87d69ba16ec4d3770fccf6cad803b5e8d66a52
env:
TZ: ${TIMEZONE}
LOG_LEVEL: "info"
PORT: &port 8080
# envFrom:
# - secretRef:
# name: jellyseerr-secret
probes:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /api/v1/status
port: *port
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness: *probes
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities: { drop: ["ALL"] }
resources:
requests:
cpu: 10m
limits:
memory: 2Gi
defaultPodOptions:
securityContext:
runAsNonRoot: true
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
fsGroupChangePolicy: OnRootMismatch
service:
app:
controller: *app
ports:
http:
port: *port
ingress:
app:
enabled: true
className: external
hosts:
- host: &host1 "{{ .Release.Name }}.${SECRET_EXTERNAL_DOMAIN}"
paths: &paths
- path: /
service:
identifier: app
port: http
- host: &host2 requests.${SECRET_EXTERNAL_DOMAIN}
paths: *paths
tls:
- hosts:
- *host1
- *host2
persistence:
config:
existingClaim: *app
globalMounts:
- path: /app/config
config-cache:
existingClaim: jellyseerr-cache
globalMounts:
- path: /app/config/cache
config-logs:
type: emptyDir
globalMounts:
- path: /app/config/logs
tmp:
type: emptyDir