mirror of
https://github.com/auricom/home-cluster.git
synced 2025-10-01 07:55:06 +02:00

| datasource | package | from | to | | ---------- | ------------------------------ | ---------- | ---------- | | docker | ghcr.io/onedr0p/lidarr-develop | 2.0.1.3769 | 2.0.2.3782 |
117 lines
3.1 KiB
YAML
117 lines
3.1 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 lidarr
|
|
namespace: default
|
|
spec:
|
|
interval: 30m
|
|
chart:
|
|
spec:
|
|
chart: app-template
|
|
version: 2.2.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: "lidarr-pushover"
|
|
initContainers:
|
|
init-db:
|
|
image:
|
|
repository: ghcr.io/auricom/postgres-init
|
|
tag: 15.4@sha256:83e1abf06be5741bdfb8cb53fc03a1ade6e6b5ec7b92a8aac0c69ba5dc7e51f0
|
|
pullPolicy: IfNotPresent
|
|
envFrom: &envFrom
|
|
- secretRef:
|
|
name: lidarr-secret
|
|
containers:
|
|
main:
|
|
image:
|
|
repository: ghcr.io/onedr0p/lidarr-develop
|
|
tag: 2.0.2.3782@sha256:ce84367f7a1fb03de55dc849350cb349eb4bc1a32ef3b1154c63ce6c564f40af
|
|
env:
|
|
TZ: "${TIMEZONE}"
|
|
LIDARR__INSTANCE_NAME: Lidarr
|
|
LIDARR__PORT: &port 8080
|
|
LIDARR__LOG_LEVEL: info
|
|
PUSHOVER_APP_URL: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
|
|
PUSHOVER_PRIORITY: "0"
|
|
envFrom:
|
|
- secretRef:
|
|
name: lidarr-secret
|
|
resources:
|
|
requests:
|
|
cpu: 10m
|
|
memory: 250Mi
|
|
limits:
|
|
memory: 2000Mi
|
|
service:
|
|
main:
|
|
ports:
|
|
http:
|
|
port: *port
|
|
ingress:
|
|
main:
|
|
enabled: true
|
|
className: "nginx"
|
|
annotations:
|
|
auth.home.arpa/enabled: "true"
|
|
hajimari.io/icon: mdi:headphones
|
|
hosts:
|
|
- host: *host
|
|
paths:
|
|
- path: /
|
|
service:
|
|
name: main
|
|
port: http
|
|
tls:
|
|
- hosts:
|
|
- *host
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
type: emptyDir
|
|
music:
|
|
type: nfs
|
|
server: "${LOCAL_LAN_TRUENAS}"
|
|
path: /mnt/storage/music
|
|
globalMounts:
|
|
- path: /mnt/storage/music
|
|
downloads:
|
|
type: nfs
|
|
server: "${LOCAL_LAN_TRUENAS}"
|
|
path: /mnt/storage/downloads
|
|
globalMounts:
|
|
- path: /mnt/storage/downloads
|
|
scripts:
|
|
type: configMap
|
|
name: lidarr-pushover
|
|
defaultMode: 0775
|
|
globalMounts:
|
|
- path: /scripts/pushover-notify.sh
|
|
subPath: pushover-notify.sh
|
|
readOnly: true
|