Files
auricom-home-cluster/kubernetes/apps/default/sonarr/app/helmrelease.yaml
feisar-bot f696887689 ⬆️ Update chart app-template to 2.3.0
| datasource | package      | from  | to    |
| ---------- | ------------ | ----- | ----- |
| helm       | app-template | 2.2.0 | 2.3.0 |
2023-11-21 07:39:40 +01:00

135 lines
3.8 KiB
YAML

---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta1.json
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: &app sonarr
namespace: default
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 2.3.0
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
maxHistory: 2
install:
createNamespace: true
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
uninstall:
keepHistory: false
values:
defaultPodOptions:
securityContext:
runAsUser: 568
runAsGroup: 568
fsGroup: 568
fsGroupChangePolicy: OnRootMismatch
controllers:
main:
annotations:
reloader.stakater.com/auto: "true"
configmap.reloader.stakater.com/reload: "sonarr-pushover"
initContainers:
init-db:
image:
repository: ghcr.io/auricom/postgres-init
tag: 15.5@sha256:a337602f0dc11ee0e7f819ede78fa1a13e40a52adad737353efe10ce265a4b36
pullPolicy: IfNotPresent
envFrom: &envFrom
- secretRef:
name: sonarr-secret
containers:
main:
image:
repository: ghcr.io/onedr0p/sonarr-develop
tag: 4.0.0.731@sha256:6841fcd99f0cc4e7e374b697ad82bc0fd70cdfaed8dca6b13b0e488bee2d5036
env:
TZ: "${TIMEZONE}"
PUSHOVER_APP_URL: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
PUSHOVER_DEBUG: "false"
PUSHOVER_PRIORITY: "0"
SONARR__AUTHENTICATION_METHOD: External
SONARR__AUTHENTICATION_REQUIRED: DisabledForLocalAddresses
SONARR__INSTANCE_NAME: Sonarr
SONARR__PORT: &port 8080
SONARR__APPLICATION_URL: "https://{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
SONARR__LOG_LEVEL: info
SONARR__THEME: dark
envFrom: *envFrom
probes:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /ping
port: *port
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness: *probes
startup:
enabled: false
resources:
requests:
cpu: 10m
memory: 256M
limits:
memory: 1Gi
service:
main:
ports:
http:
port: *port
ingress:
main:
enabled: true
className: "nginx"
annotations:
auth.home.arpa/enabled: "true"
hajimari.io/icon: mdi:television-classic
hosts:
- host: *host
paths:
- path: /
service:
name: main
port: http
tls:
- hosts:
- *host
persistence:
config:
enabled: true
type: emptyDir
downloads:
type: nfs
server: "${LOCAL_LAN_TRUENAS}"
path: /mnt/storage/downloads
globalMounts:
- path: /mnt/storage/downloads
video:
type: nfs
server: "${LOCAL_LAN_TRUENAS}"
path: /mnt/storage/video
globalMounts:
- path: /mnt/storage/video
scripts:
type: configMap
name: sonarr-pushover
defaultMode: 0775
globalMounts:
- path: /scripts/pushover-notify.sh
subPath: pushover-notify.sh
readOnly: true