kubernetes/k8s-wheatley/radarr/deployments.yaml

50 lines
1.1 KiB
YAML
Raw Normal View History

2025-12-30 12:42:10 +01:00
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: radarr
labels:
app: radarr
spec:
replicas: 1
selector:
matchLabels:
app: radarr
template:
metadata:
labels:
app: radarr
spec:
volumes:
- name: radarr-config
persistentVolumeClaim:
claimName: radarr-storage
- name: nfs-media
persistentVolumeClaim:
claimName: nfs-media
containers:
- name: radarr
image: linuxserver/radarr:6.0.4
imagePullPolicy: IfNotPresent
ports:
- containerPort: 7878
envFrom:
- configMapRef:
name: radarr-envs
2025-12-30 12:42:10 +01:00
volumeMounts:
- mountPath: /config
name: radarr-config
- mountPath: /shared/media
name: nfs-media
securityContext:
seccompProfile:
type: RuntimeDefault
allowPrivilegeEscalation: false
capabilities:
drop:
- "ALL"
add:
- "CHOWN"
- "SETUID"
- "SETGID"