mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-ansible-private.git
synced 2026-02-04 07:43:31 +00:00
72 lines
1.7 KiB
YAML
72 lines
1.7 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: bazarr
|
|
namespace: stack-arr
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: bazarr
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: bazarr
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: regcred
|
|
containers:
|
|
- name: bazarr
|
|
image: lscr.io/linuxserver/bazarr:1.5.3
|
|
securityContext:
|
|
capabilities:
|
|
add:
|
|
- NET_ADMIN
|
|
ports:
|
|
- containerPort: 6767
|
|
name: webui
|
|
env:
|
|
- name: PUID
|
|
value: "1013"
|
|
- name: PGID
|
|
value: "1013"
|
|
- name: TZ
|
|
value: 'Etc/UTC'
|
|
- name: BAZARR__POSTGRES__HOST
|
|
value: 'stolon-proxy-service.postgresql.svc.cluster.local'
|
|
- name: BAZARR__POSTGRES__USER
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: bazarr-secret
|
|
key: username
|
|
- name: BAZARR__POSTGRES__PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: bazarr-secret
|
|
key: password
|
|
- name: BAZARR__POSTGRES__MAINDB
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: bazarr-secret
|
|
key: maindb
|
|
- name: BAZARR__POSTGRES__LOGDB
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: bazarr-secret
|
|
key: logsdb
|
|
volumeMounts:
|
|
- name: config
|
|
mountPath: /config
|
|
- name: media
|
|
mountPath: /media
|
|
volumes:
|
|
- name: config
|
|
persistentVolumeClaim:
|
|
claimName: bazarr-config-pvc
|
|
- name: media
|
|
persistentVolumeClaim:
|
|
claimName: bazarr-media-pvc
|
|
|
|
|
|
|