fix: ensure ferret user
Some checks failed
lint-test-helm / lint-helm (push) Successful in 23s
render-manifests-push / render-manifests-push (push) Successful in 1m4s
renovate / renovate (push) Has been cancelled

This commit is contained in:
2026-02-05 22:35:53 -06:00
parent 0a9643ec37
commit 008845d653
2 changed files with 26 additions and 5 deletions

View File

@@ -53,10 +53,7 @@ komodo:
- name: PERIPHERY_SSL_ENABLED
value: false
- name: DB_USERNAME
valueFrom:
secretKeyRef:
name: komodo-postgresql-17-fdb-cluster-app
key: user
value: ferret
- name: DB_PASSWORD
valueFrom:
secretKeyRef:
@@ -101,7 +98,7 @@ komodo:
- name: FERRETDB_POSTGRESQL_URL
valueFrom:
secretKeyRef:
name: komodo-postgresql-17-fdb-cluster-superuser
name: komodo-postgresql-17-fdb-cluster-ferret
key: uri
resources:
requests:
@@ -201,6 +198,7 @@ postgresql-17-fdb-cluster:
postInitApplicationSQL:
- CREATE EXTENSION IF NOT EXISTS pg_cron;
- CREATE EXTENSION IF NOT EXISTS documentdb CASCADE;
- ALTER USER ferret WITH PASSWORD '${PASSWORD}';
- GRANT documentdb_admin_role TO ferret;
- GRANT USAGE ON SCHEMA documentdb_core TO ferret;
- GRANT USAGE ON SCHEMA documentdb_api TO ferret;