We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I want to change the permission of default user to forbid ddl, so I have the following config:
profiles: not_allow_ddl/allow_ddl: 0 users: default/profile: not_allow_ddl admin/password: admin admin/profile: default
but these codes change the password to "default" like this https://github.com/Altinity/clickhouse-operator/blob/master/pkg/apis/clickhouse.altinity.com/v1/type_config.go#L267-L269
users.xml: | <yandex> <users> <admin> <networks> <ip>::/0</ip> </networks> <password>admin</password> <profile>default</profile> <quota>default</quota> </admin> <default> <networks> <ip>::/0</ip> </networks> <password>default</password> <profile>not_allow_ddl</profile> <quota>default</quota> </default>
I am working on a shard env, then I have found this issue #265 which means I should not change the password, and I do not want to change it either
please help me.
The text was updated successfully, but these errors were encountered:
@xiaozzz As a workaround, you can specify empty password for default user explicitly.
We will fix this in an upcoming hot fix release later today or tomorrow
Sorry, something went wrong.
@alex-zaitsev I have tried leave the password blank like this
users: default/password:
or
users: default/password: ~
but the config map translate it to newline like this
<default> <networks> <ip>::/0</ip> </networks> <password> </password> <profile>not_allow_ddl</profile> <quota>default</quota> </default>
and clickhouse still ask me for password.
Thank you for your quick apply, and i will wait for your hotfix
Fixed in 0.9.3
alex-zaitsev
No branches or pull requests
Hi,
I want to change the permission of default user to forbid ddl, so I have the following config:
but these codes change the password to "default" like this
https://github.com/Altinity/clickhouse-operator/blob/master/pkg/apis/clickhouse.altinity.com/v1/type_config.go#L267-L269
I am working on a shard env, then I have found this issue #265 which means I should not change the password, and I do not want to change it either
please help me.
The text was updated successfully, but these errors were encountered: