Files
auricom-home-cluster/kubernetes/cluster-0/apps/web-tools/invidious/patches/postgres.yaml
2022-11-27 19:19:12 +01:00

26 lines
686 B
YAML

---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: invidious-server
namespace: default
spec:
values:
initContainers:
init-db:
image: ghcr.io/onedr0p/postgres-initdb:14.6
env:
- name: POSTGRES_HOST
value: ${POSTGRES_HOST}
- 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}