From 8354fee2369175b23e4dc539a5fcd9fe8a2205fc Mon Sep 17 00:00:00 2001 From: Simen Kirkvik Date: Wed, 12 Nov 2025 14:16:21 +0100 Subject: [PATCH] Create uri secret --- values/openfga/postgres-secret.yaml | 5 ++--- values/openfga/values/values-staging.yaml | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/values/openfga/postgres-secret.yaml b/values/openfga/postgres-secret.yaml index 0a0ad2f7..809c0df3 100644 --- a/values/openfga/postgres-secret.yaml +++ b/values/openfga/postgres-secret.yaml @@ -10,10 +10,9 @@ type: Opaque --- apiVersion: v1 stringData: - postgres-password: iAnMHs3eEuQM0D4jeAP1dwEoLWUBSwNXwhBuPDOgmfoeZ58iV0zogQ77U3GNUbwa - uri: postgres://postgres:iAnMHs3eEuQM0D4jeAP1dwEoLWUBSwNXwhBuPDOgmfoeZ58iV0zogQ77U3GNUbwa@staging-openfga-rw.openfga.svc.cluster.local:5432/postgres?sslmode=disable + uri: postgres://staging-openfga-rw.openfga.svc.cluster.local:5432/app?sslmode=disable kind: Secret metadata: name: staging-openfga-postgresql - namespace: openfga + namespace: staging-openfga type: Opaque diff --git a/values/openfga/values/values-staging.yaml b/values/openfga/values/values-staging.yaml index 5ed2f366..7a6536e8 100644 --- a/values/openfga/values/values-staging.yaml +++ b/values/openfga/values/values-staging.yaml @@ -3,7 +3,7 @@ replicaCount: 1 datastore: engine: postgres migrationType: initContainer - uri: staging-openfga-db-rw.staging-openfga.svc.cluster.local + uriSecret: staging-openfga-postgresql existingSecret: staging-openfga-db-superuser secretKeys: usernameKey: username