From 2c79dff939a88934a38a5aa8a1756736363fc873 Mon Sep 17 00:00:00 2001 From: Slach Date: Mon, 13 Jan 2025 13:22:29 +0500 Subject: [PATCH] add fixes to GRANT examples, fix https://github.com/Altinity/clickhouse-operator/issues/1615 --- 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