mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-ansible-private.git
synced 2025-12-16 19:27:37 +00:00
68 lines
1.5 KiB
YAML
68 lines
1.5 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: prowlarr
|
|
namespace: stack-arr
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: prowlarr
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: prowlarr
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: regcred
|
|
containers:
|
|
- name: prowlarr
|
|
image: lscr.io/linuxserver/prowlarr:2.1.5
|
|
securityContext:
|
|
capabilities:
|
|
add:
|
|
- NET_ADMIN
|
|
ports:
|
|
- containerPort: 9696
|
|
name: webui
|
|
env:
|
|
- name: PUID
|
|
value: "1013"
|
|
- name: PGID
|
|
value: "1013"
|
|
- name: TZ
|
|
value: 'Etc/UTC'
|
|
- name: PROWLARR__POSTGRES__HOST
|
|
value: 'stolon-proxy-service.postgresql.svc.cluster.local'
|
|
- name: PROWLARR__POSTGRES__USER
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: prowlarr-secret
|
|
key: username
|
|
- name: PROWLARR__POSTGRES__PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: prowlarr-secret
|
|
key: password
|
|
- name: PROWLARR__POSTGRES__MAINDB
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: prowlarr-secret
|
|
key: maindb
|
|
- name: PROWLARR__POSTGRES__LOGDB
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: prowlarr-secret
|
|
key: logsdb
|
|
volumeMounts:
|
|
- name: config
|
|
mountPath: /config
|
|
volumes:
|
|
- name: config
|
|
persistentVolumeClaim:
|
|
claimName: prowlarr-config-pvc
|
|
|
|
|
|
|
|
|