argocd-test/mediaserver/base/mediaserver-radarr-deployment.yaml

48 lines
1.1 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: radarr
labels:
app: radarr
spec:
replicas: 1
selector:
matchLabels:
app: radarr
template:
metadata:
labels:
app: radarr
annotations:
spec:
volumes:
- name: radarr-config
persistentVolumeClaim:
claimName: mediaserver-radarr-config-pvc
- name: plex-data
persistentVolumeClaim:
claimName: mediaserver-plex-data-pvc
- name: rdtclient-downloads
persistentVolumeClaim:
claimName: mediaserver-rdtclient-downloads-pvc
containers:
- name: radarr
image: ghcr.io/hotio/radarr:nightly@sha256:ebe8d02bfcbbc2054fad64964f01eb8818ce2532093d483a8308c90c1973a0a8
ports:
- name: web
containerPort: 7878
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: TZ
value: Europe/Amsterdam
volumeMounts:
- mountPath: /config
name: radarr-config
- mountPath: /data/downloads
name: rdtclient-downloads
- mountPath: /media
name: plex-data