mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-30 15:37:44 +02:00
91 lines
2.3 KiB
YAML
91 lines
2.3 KiB
YAML
---
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: &app readarr
|
|
namespace: default
|
|
spec:
|
|
interval: 15m
|
|
chart:
|
|
spec:
|
|
chart: app-template
|
|
version: 1.0.1
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: bjw-s
|
|
namespace: flux-system
|
|
install:
|
|
createNamespace: true
|
|
remediation:
|
|
retries: 5
|
|
upgrade:
|
|
remediation:
|
|
retries: 5
|
|
values:
|
|
image:
|
|
repository: ghcr.io/onedr0p/readarr-nightly
|
|
tag: 0.1.1.1459@sha256:67241b71406e3a69a0463d56ccc4f7857096c1f16120a2576d2ddc0c23f572c7
|
|
env:
|
|
TZ: "${TIMEZONE}"
|
|
READARR__INSTANCE_NAME: Readarr (Audio)
|
|
READARR__PORT: &port 80
|
|
READARR__LOG_LEVEL: info
|
|
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/readarr/nord.css"></head>';
|
|
sub_filter_once on;
|
|
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: readarr-config
|
|
mountPath: /config
|
|
books:
|
|
enabled: true
|
|
type: nfs
|
|
server: "${LOCAL_LAN_TRUENAS}"
|
|
path: /mnt/storage/home/claude/books
|
|
mountPath: /mnt/storage/home/claude/books
|
|
downloads:
|
|
enabled: true
|
|
type: nfs
|
|
server: "${LOCAL_LAN_TRUENAS}"
|
|
path: /mnt/storage/downloads
|
|
mountPath: /mnt/storage/downloads
|
|
podAnnotations:
|
|
secret.reloader.stakater.com/reload: *app
|
|
resources:
|
|
requests:
|
|
cpu: 10m
|
|
memory: 250Mi
|
|
limits:
|
|
memory: 1000Mi
|