From 1974daf853a23040a2abf05f8925168989d33d71 Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Mon, 5 Feb 2024 01:32:59 +0100 Subject: [PATCH] fix(miniflux): Drop hardcoded database parameter from app --- apps/base/miniflux/database.yaml | 4 +--- apps/base/miniflux/deployment.yaml | 4 ++++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/base/miniflux/database.yaml b/apps/base/miniflux/database.yaml index 8332e1936..487b317c2 100644 --- a/apps/base/miniflux/database.yaml +++ b/apps/base/miniflux/database.yaml @@ -8,9 +8,7 @@ spec: size: 1Gi numberOfInstances: 1 users: - miniflux: - - superuser - - createdb + miniflux: [] databases: miniflux: miniflux postgresql: diff --git a/apps/base/miniflux/deployment.yaml b/apps/base/miniflux/deployment.yaml index 1adc7433c..7fb3135e4 100644 --- a/apps/base/miniflux/deployment.yaml +++ b/apps/base/miniflux/deployment.yaml @@ -15,10 +15,14 @@ spec: - image: ghcr.io/miniflux/miniflux:2.0.51-distroless name: miniflux env: + - name: DATABASE_URL + value: sslmode=require - name: RUN_MIGRATIONS value: "1" - name: PGHOST value: miniflux-postgres.miniflux.svc.cluster.local + - name: PGDATABASE + value: miniflux - name: PGUSER valueFrom: secretKeyRef: -- GitLab