-
Notifications
You must be signed in to change notification settings - Fork 104
Make profile and quotas optional for users #13
Comments
Hi, Amarao. Thanks for your contribution. Thanks for discussing first :) About defaulting 0.0.0.0/0 and ::/0:
About clickhouse_dbs - you want create on every database same user? |
My goal is to make list of variables as small as possible by providing reasonable defaults. |
Now clickhouse_default_user_profile and clickhouse_default_user_quota are used if any user in clickhouse_users_custom have profile or quota field specified. Those values are set to 'default' which corresponds to default values for clickhouse: default quota, default profile. Example of a shorter user definition: clickhouse_users_custom: - name: "someuser", password: "somepassword", networks: - 192.168.0.0/24 - 10.0.0.0/8 dbs: somedatabase: Partially-closes: AlexeySetevoi#13
Hello.
Next improvement is a bit more intrusive and I'd like to discuss it beforehand.
I want to make profile and quota optional, by using default value (
clickhouse_default_user_profile=default
, andclickhouse_default_user_quota=default
).Moreover, I have two more ideas:
networks
defaulting to 0.0.0.0/0 and ::/0.Is it OK or it's too daring and insecure?
My goal is to have a very small config for initial use:
The text was updated successfully, but these errors were encountered: