Files
auricom-home-cluster/cluster/apps/web-tools/invidious/patches/postgres.yaml
auricom 319e923f4f 🚀 invidious
2022-10-03 22:53:34 +02:00

26 lines
701 B
YAML

---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: invidious
namespace: default
spec:
values:
initContainers:
init-db:
image: ghcr.io/onedr0p/postgres-initdb:14.5
env:
- name: POSTGRES_HOST
value: postgres-rw.default.svc.cluster.local.
- name: POSTGRES_DB
value: invidious
- name: POSTGRES_SUPER_PASS
valueFrom:
secretKeyRef:
name: postgres-superuser
key: password
- name: POSTGRES_USER
value: ${SECRET_INVIDIOUS_DB_USER}
- name: POSTGRES_PASS
value: ${SECRET_INVIDIOUS_DB_PASSWORD}