mirror of
https://github.com/auricom/home-cluster.git
synced 2025-10-01 16:05:55 +02:00
add sonarr
This commit is contained in:
76
cluster/media/sonarr.yaml
Normal file
76
cluster/media/sonarr.yaml
Normal file
@@ -0,0 +1,76 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: sonarr
|
||||
namespace: media
|
||||
spec:
|
||||
interval: 5m
|
||||
chart:
|
||||
spec:
|
||||
chart: sonarr
|
||||
version: 7.4.0
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: k8s-at-home-charts
|
||||
namespace: flux-system
|
||||
interval: 5m
|
||||
values:
|
||||
controllerType: deployment
|
||||
image:
|
||||
repository: k8sathome/sonarr
|
||||
tag: v3.0.4.1021
|
||||
pullPolicy: IfNotPresent
|
||||
env:
|
||||
TZ: "Europe/Paris"
|
||||
podSecurityContext:
|
||||
runAsUser: 568
|
||||
runAsGroup: 568
|
||||
fsGroup: 568
|
||||
persistence:
|
||||
config:
|
||||
enabled: true
|
||||
existingClaim: sonarr-config
|
||||
additionalVolumeMounts:
|
||||
- name: nfs-video
|
||||
mountPath: "/mnt/storage/video"
|
||||
- name: qbittorrent-downloads
|
||||
mountPath: "/downloads"
|
||||
additionalVolumes:
|
||||
- name: nfs-video
|
||||
persistentVolumeClaim:
|
||||
claimName: nfs-video
|
||||
- name: qbittorrent-downloads
|
||||
persistentVolumeClaim:
|
||||
claimName: qbittorrent-downloads
|
||||
resources:
|
||||
requests:
|
||||
memory: 500Mi
|
||||
cpu: 500m
|
||||
limits:
|
||||
memory: 1500Mi
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/hostname
|
||||
operator: In
|
||||
values:
|
||||
- k3os-worker3
|
||||
valuesFrom:
|
||||
- kind: ConfigMap
|
||||
name: helmrelease-media-sonarr
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: sonarr-config
|
||||
namespace: media
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
storageClassName: longhorn-backups
|
||||
resources:
|
||||
requests:
|
||||
storage: 5Gi
|
Reference in New Issue
Block a user