Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Use default values for users quota and profile #14

Conversation

amarao
Copy link
Contributor

@amarao amarao commented May 9, 2018

Now clickhouse_default_user_profile and clickhouse_default_user_quota
are used if any user in clickhouse_users_custom have no 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: #13

amarao added 2 commits May 9, 2018 15:33
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
@amarao
Copy link
Contributor Author

amarao commented May 9, 2018

Sorry, I done some bugs, I will reopen PR after fixes.

@amarao amarao closed this May 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make profile and quotas optional for users
1 participant