45 lines
981 B
YAML
45 lines
981 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
***REMOVED***
|
|
name: prowlarr
|
|
namespace: media
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: prowlarr
|
|
template:
|
|
***REMOVED***
|
|
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
|