k8s/apps/arr/prowlarr/prowlarr-config.yaml

45 lines
973 B
YAML
Raw Normal View History

apiVersion: apps/v1
kind: Deployment
2026-03-17 08:11:22 +00:00
metadata:
name: prowlarr
namespace: media
spec:
replicas: 1
selector:
matchLabels:
app: prowlarr
template:
2026-03-17 08:11:22 +00:00
metadata:
labels:
app: prowlarr
spec:
# InitContainer to fix permissions on the storage directory
initContainers:
- name: init-storage
image: busybox
command:
- sh
- -c
- |
mkdir -p /config && chown -R 33:33 /config
volumeMounts:
- name: config
mountPath: /config
containers:
- name: prowlarr
image: linuxserver/prowlarr
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
volumeMounts:
- name: config
mountPath: /config
ports:
- containerPort: 9696
volumes:
- name: config
persistentVolumeClaim:
claimName: prowlarr-config