From 26be596d0d0f5a4223a8ed2a11f265465b94600e Mon Sep 17 00:00:00 2001 From: Eugene Klimov Date: Mon, 13 Jan 2025 14:02:33 +0500 Subject: [PATCH] add fixes to GRANT examples, fix https://github.com/Altinity/clickhouse-operator/issues/1615 (#1616) --- docs/chi-examples/05-settings-08-grants.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/chi-examples/05-settings-08-grants.yaml b/docs/chi-examples/05-settings-08-grants.yaml index 74962b162..d834c62e1 100644 --- a/docs/chi-examples/05-settings-08-grants.yaml +++ b/docs/chi-examples/05-settings-08-grants.yaml @@ -7,7 +7,8 @@ spec: users: myuser/profile: readonly myuser/grants/query: - - "GRANT SELECT,INSERT,ALTER,CREATE,DROP,TRUNCATE,OPTIMIZE,SHOW,dictGet,REMOTE ON canarydb.*" + # you can't combine `allow_databases` with `GRANT ... canarydb.*` + - "GRANT SELECT,INSERT,ALTER,CREATE,DROP,TRUNCATE,OPTIMIZE,SHOW,dictGet,REMOTE ON *.*" myuser/allow_databases/database: - "canarydb" myuser2/profile: default