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:dde8c47bca9610723db86c2160dd1d2b745feb303de16b83bc0fa44abb9b7f33
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