paperless

This commit is contained in:
auricom
2022-11-23 13:49:01 +01:00
parent 704de4c36a
commit cc73db9374
8 changed files with 219 additions and 1 deletions

View File

@@ -0,0 +1,31 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: &app paperless
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: *app
- name: POSTGRES_SUPER_PASS
valueFrom:
secretKeyRef:
name: postgres-superuser
key: password
- name: POSTGRES_USER
valueFrom:
secretKeyRef:
name: *app
key: PAPERLESS_DBUSER
- name: POSTGRES_PASS
valueFrom:
secretKeyRef:
name: *app
key: PAPERLESS_DBPASS