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:
parent
007900e01b
commit
75c2aa599e
1 changed files with 6 additions and 0 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue