theshire/kubernetes/apps/default/sabnzbd/app/helmrelease.yaml

113 lines
3 KiB
YAML
Raw Normal View History

2024-01-27 11:57:42 -06:00
---
2024-03-19 17:38:08 -05:00
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
2024-01-27 11:57:42 -06:00
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: sabnzbd
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.1.0
2024-01-27 11:57:42 -06:00
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
strategy: rollback
2024-01-27 11:57:42 -06:00
values:
controllers:
2024-03-19 17:38:08 -05:00
sabnzbd:
2024-01-27 11:57:42 -06:00
annotations:
reloader.stakater.com/auto: "true"
containers:
2024-03-19 17:38:08 -05:00
app:
2024-01-27 11:57:42 -06:00
image:
repository: ghcr.io/onedr0p/sabnzbd
tag: 4.3.1@sha256:0a1e831d9208a6df6cf2bfc0abe90cdfa67a35e0d7951e52fbf47b19240e8669
2024-01-27 11:57:42 -06:00
env:
TZ: America/Chicago
SABNZBD__PORT: &port 80
SABNZBD__HOST_WHITELIST_ENTRIES: >-
sabnzbd,
sabnzbd.default,
sabnzbd.default.svc,
sabnzbd.default.svc.cluster,
sabnzbd.default.svc.cluster.local,
sabz.jahanson.tech,
sabnzbd.jahanson.tech
envFrom:
- secretRef:
name: sabnzbd-secret
probes:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /api?mode=version
port: *port
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness: *probes
startup:
enabled: false
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities: { drop: ["ALL"] }
resources:
requests:
cpu: 100m
limits:
2024-05-28 16:15:40 -05:00
memory: 16Gi
2024-01-27 11:57:42 -06:00
pod:
securityContext:
runAsUser: 568
runAsGroup: 568
runAsNonRoot: true
fsGroup: 568
fsGroupChangePolicy: OnRootMismatch
supplementalGroups: [10000]
service:
2024-03-19 17:38:08 -05:00
app:
controller: sabnzbd
2024-01-27 11:57:42 -06:00
ports:
http:
port: *port
ingress:
2024-03-19 17:38:08 -05:00
app:
2024-01-27 11:57:42 -06:00
enabled: true
className: internal-nginx
hosts:
- host: &host sabz.jahanson.tech
paths:
- path: /
service:
2024-03-19 17:38:08 -05:00
identifier: app
2024-01-27 11:57:42 -06:00
port: http
tls:
- hosts:
- *host
persistence:
config:
enabled: true
existingClaim: sabnzbd
tmp:
type: emptyDir
media:
type: nfs
server: 10.1.1.11
path: /volume1/Media
globalMounts:
- path: /data/nas-media