From f7aaa0221fabcf8e5243837779008b3d52e743ae Mon Sep 17 00:00:00 2001 From: pikastech Date: Tue, 21 Jul 2026 09:16:33 +0200 Subject: [PATCH] fix: align NC01 v03 OpenFGA database secret --- config/platform-db/postgres-nc01.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/config/platform-db/postgres-nc01.yaml b/config/platform-db/postgres-nc01.yaml index d7f9f9bc..e9b5ce74 100644 --- a/config/platform-db/postgres-nc01.yaml +++ b/config/platform-db/postgres-nc01.yaml @@ -688,6 +688,21 @@ exports: - scope: hwlab-v03 secret: hwlab-cloud-api-v03-db key: DATABASE_URL + - name: hwlab-nc01-v03-openfga-datastore-uri + sourceSecretRef: platform-db/hwlab-nc01-v03-db.env + render: + envKey: DATASTORE_URI + format: postgres://$(HWLAB_NC01_V03_DB_USER):$(HWLAB_NC01_V03_DB_PASSWORD)@$(PGHOST):5432/$(HWLAB_NC01_V03_DB_NAME)?sslmode=require + variables: + PGHOST: 10.42.0.1 + writeToSecretSource: + sourceRef: hwlab/nc01-v03-openfga-db.env + key: DATASTORE_URI + mode: update-or-insert + consumers: + - scope: hwlab-v03 + secret: hwlab-v03-openfga + key: DATASTORE_URI - name: hwlab-nc01-production-cloud-api-database-url sourceSecretRef: platform-db/hwlab-nc01-production-db.env render: