Hello,
I am trying to enable auth_methods definition for clickhouse - doc. According to doc, it is possible to use just one of auth_methods, password_sha256_hex, password or ssh_keys. Unfortunately looks like operator is injecting password_sha256_hex field to the user defintion even though it is not specified in ClickHouseInstallation object. Please is there some way how to disable this operator behaviour, so that I can use auth_methods definition and possibly multiple authentication mechanisms?
Current user definition in ClickHouseInstallation object:
users:
backup/auth_methods/method1/password:
valueFrom:
secretKeyRef:
key: password
name: clickhouse-backup-creds
Generated /etc/clickhouse-server/users.d/chop-generated-users.xml:
<clickhouse>
<users>
<backup>
<auth_methods>
<method1>
<password from_env="CONFIGURATION_USERS_BACKUP_AUTH_METHODS_METHOD1_PASSWORD"></password>
</method1>
</auth_methods>
<password_sha256_hex>RANDOM_HASH_GENERATED_BY_OPERATOR?</password_sha256_hex>
<profile>default</profile>
<quota>default</quota>
</backup>
</users>
</clickhouse>
Operator version: 0.24.5
Operator access configuration:
clickhouse:
access:
password: ""
port: 8123
rootCA: ""
scheme: auto
secret:
name: ""
namespace: ""
timeouts:
connect: 1
query: 4
username: ""
Hello,
I am trying to enable
auth_methodsdefinition for clickhouse - doc. According to doc, it is possible to use just one ofauth_methods,password_sha256_hex,passwordorssh_keys. Unfortunately looks like operator is injectingpassword_sha256_hexfield to the user defintion even though it is not specified in ClickHouseInstallation object. Please is there some way how to disable this operator behaviour, so that I can useauth_methodsdefinition and possibly multiple authentication mechanisms?Current user definition in ClickHouseInstallation object:
Generated
/etc/clickhouse-server/users.d/chop-generated-users.xml:Operator version:
0.24.5Operator access configuration: