mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-30 15:37:44 +02:00

| datasource | package | from | to | | ---------- | ------------ | ----- | ----- | | helm | app-template | 1.3.1 | 1.3.2 |
106 lines
2.8 KiB
YAML
106 lines
2.8 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 sabnzbd
|
|
namespace: default
|
|
spec:
|
|
interval: 15m
|
|
chart:
|
|
spec:
|
|
chart: app-template
|
|
version: 1.3.2
|
|
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/sabnzbd
|
|
tag: 3.7.2@sha256:c8754b0ef01f50a5b4a78f88e6f2f2b7a3ca1651226ca3145fa62e3790251ef1
|
|
env:
|
|
TZ: "${TIMEZONE}"
|
|
SABNZBD__PORT: &port 8080
|
|
SABNZBD__HOST_WHITELIST_ENTRIES: >-
|
|
sabnzbd,
|
|
sabnzbd.default,
|
|
sabnzbd.default.svc,
|
|
sabnzbd.default.svc.cluster,
|
|
sabnzbd.default.svc.cluster.local,
|
|
sabnzbd.${SECRET_CLUSTER_DOMAIN}
|
|
envFrom:
|
|
- secretRef:
|
|
name: *app
|
|
service:
|
|
main:
|
|
ports:
|
|
http:
|
|
port: *port
|
|
ingress:
|
|
main:
|
|
enabled: true
|
|
ingressClassName: "nginx"
|
|
annotations:
|
|
auth.home.arpa/enabled: "true"
|
|
nginx.ingress.kubernetes.io/configuration-snippet: |
|
|
proxy_set_header Accept-Encoding "";
|
|
sub_filter '</head>' '<link rel="stylesheet" type="text/css" href="https://theme-park.${SECRET_CLUSTER_DOMAIN}/css/base/sabnzbd/nord.css"></head>';
|
|
sub_filter_once on;
|
|
hajimari.io/icon: mdi:download
|
|
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:
|
|
- 100
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
existingClaim: sabnzbd-config
|
|
mountPath: /config
|
|
downloads:
|
|
enabled: true
|
|
type: nfs
|
|
server: "${LOCAL_LAN_TRUENAS}"
|
|
path: /mnt/storage/downloads
|
|
mountPath: /mnt/storage/downloads
|
|
music-usenet:
|
|
enabled: true
|
|
type: nfs
|
|
server: "${LOCAL_LAN_TRUENAS}"
|
|
path: /mnt/storage/music/.usenet
|
|
mountPath: /mnt/storage/music/.usenet
|
|
video-usenet:
|
|
enabled: true
|
|
type: nfs
|
|
server: "${LOCAL_LAN_TRUENAS}"
|
|
path: /mnt/storage/video/.usenet
|
|
mountPath: /mnt/storage/video/.usenet
|
|
resources:
|
|
requests:
|
|
cpu: 10m
|
|
memory: 250Mi
|
|
limits:
|
|
memory: 8000Mi
|