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

72 lines
2 KiB
YAML

---
# yaml-language-server: $schema=https://ks.hsn.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: recyclarr
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.3.2
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
strategy: rollback
values:
controllers:
recyclarr:
type: cronjob
annotations:
reloader.stakater.com/auto: "true"
cronjob:
schedule: "@daily"
containers:
app:
image:
repository: ghcr.io/recyclarr/recyclarr
tag: 7.2.0@sha256:bc7a7b940e9f42b9ee7df31d85e180b13a968f0a86ce58838376c052db381b05
env:
# Ref: https://github.com/Radarr/Radarr/issues/7030#issuecomment-1039689518
# Ref: https://github.com/dotnet/runtime/issues/9336
COMPlus_EnableDiagnostics: "0"
TZ: America/Chicago
envFrom:
- secretRef:
name: recyclarr-secret
args: ["sync"]
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities: { drop: ["ALL"] }
resources:
requests:
cpu: 10m
limits:
memory: 128Mi
pod:
securityContext:
runAsUser: 568
runAsGroup: 568
runAsNonRoot: true
fsGroup: 568
fsGroupChangePolicy: OnRootMismatch
persistence:
config:
existingClaim: recyclarr
config-file:
type: configMap
name: recyclarr-configmap
globalMounts:
- path: /config/recyclarr.yml
subPath: recyclarr.yml
readOnly: true