fix(cnpg): add news_app managed role for news_bot scraper

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 <hermes@devops.local>
This commit is contained in:
sirius0xdev 2026-05-27 21:06:28 -04:00 committed by GitHub
parent 007900e01b
commit 75c2aa599e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,6 +29,12 @@ spec:
login: true login: true
passwordSecret: passwordSecret:
name: trading-db-credentials 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: bootstrap:
initdb: initdb: