fix: ensure ferret user
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user