From 75c2aa599ec7cd7fd6179763bbf3fefb367f997d Mon Sep 17 00:00:00 2001 From: sirius0xdev Date: Wed, 27 May 2026 21:06:28 -0400 Subject: [PATCH] fix(cnpg): add news_app managed role for news_bot scraper MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CNPG cluster was missing the news_app role — scraper cronjob was failing with 'connection to server at port 5432 failed' because the role had no login/password configured in managed roles. Adds news_app to managed roles, pointing to existing news-app-password secret. Co-authored-by: Hermes DevOps --- .../customer1/siriusdevops-db/pg-cluster-siriusdevops.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/base/customer1/siriusdevops-db/pg-cluster-siriusdevops.yaml b/apps/base/customer1/siriusdevops-db/pg-cluster-siriusdevops.yaml index d7c31ca..132048a 100644 --- a/apps/base/customer1/siriusdevops-db/pg-cluster-siriusdevops.yaml +++ b/apps/base/customer1/siriusdevops-db/pg-cluster-siriusdevops.yaml @@ -29,6 +29,12 @@ spec: login: true passwordSecret: name: trading-db-credentials + # News app role (news_bot scraper + analyst + messenger) + - name: news_app + ensure: present + login: true + passwordSecret: + name: news-app-password bootstrap: initdb: