From c4faf51bea2860b7ec6a0b67402cf947734a1bfe Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Thu, 5 Feb 2026 22:18:53 -0600 Subject: [PATCH] fix: add additional init --- clusters/cl01tl/helm/komodo/values.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/clusters/cl01tl/helm/komodo/values.yaml b/clusters/cl01tl/helm/komodo/values.yaml index 2ee5b58dd..487e71c58 100644 --- a/clusters/cl01tl/helm/komodo/values.yaml +++ b/clusters/cl01tl/helm/komodo/values.yaml @@ -199,9 +199,14 @@ postgresql-17-fdb-cluster: database: ferretDB owner: ferret postInitApplicationSQL: - - create extension if not exists pg_cron; - - create extension if not exists documentdb cascade; - - grant documentdb_admin_role to ferret; + - CREATE EXTENSION IF NOT EXISTS pg_cron; + - CREATE EXTENSION IF NOT EXISTS documentdb CASCADE; + - GRANT documentdb_admin_role TO ferret; + - GRANT USAGE ON SCHEMA documentdb_core TO ferret; + - GRANT USAGE ON SCHEMA documentdb_api TO ferret; + - GRANT USAGE ON SCHEMA documentdb_core TO pg_monitor; + - GRANT USAGE ON SCHEMA documentdb_api TO pg_monitor; + - GRANT SELECT ON ALL TABLES IN SCHEMA documentdb_core TO pg_monitor; recovery: method: objectStore objectStore: