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