configure clickhouse user
This commit is contained in:
@@ -77,11 +77,32 @@ clickhouse: &clickhouse_config
|
|||||||
# -- Create a new config map object.
|
# -- Create a new config map object.
|
||||||
create: true
|
create: true
|
||||||
# -- Mount path of the config map object.
|
# -- Mount path of the config map object.
|
||||||
mountPath: /etc/config
|
mountPath: /etc/clickhouse-server/users.d/
|
||||||
# -- Use an existing config map object.
|
# -- Use an existing config map object.
|
||||||
existingConfigMap: ''
|
existingConfigMap: ''
|
||||||
# -- Map of configuration files as strings.
|
# -- Map of configuration files as strings.
|
||||||
files: {}
|
files:
|
||||||
|
custom-users.xml: |
|
||||||
|
<clickhouse>
|
||||||
|
<users>
|
||||||
|
<default>
|
||||||
|
<networks>
|
||||||
|
<ip>::1</ip>
|
||||||
|
<ip>127.0.0.1</ip>
|
||||||
|
</networks>
|
||||||
|
</default>
|
||||||
|
<admin>
|
||||||
|
<password>monmotdepasse</password>
|
||||||
|
<networks>
|
||||||
|
<ip>::/0</ip>
|
||||||
|
<ip>0.0.0.0/0</ip>
|
||||||
|
</networks>
|
||||||
|
<profile>default</profile>
|
||||||
|
<quota>default</quota>
|
||||||
|
<access_management>1</access_management>
|
||||||
|
</admin>
|
||||||
|
</users>
|
||||||
|
</clickhouse>
|
||||||
# file1.yml: |
|
# file1.yml: |
|
||||||
# # contents
|
# # contents
|
||||||
# file2.yml: |
|
# file2.yml: |
|
||||||
|
|||||||
@@ -545,7 +545,7 @@ grafana: &grafana_config
|
|||||||
access: proxy
|
access: proxy
|
||||||
isDefault: false
|
isDefault: false
|
||||||
jsonData:
|
jsonData:
|
||||||
server: "http://clickhouse.tools.svc.cluster.local:8123"
|
server: "clickhouse.tools.svc.cluster.local"
|
||||||
defaultDatabase: "default"
|
defaultDatabase: "default"
|
||||||
secureJsonData: {}
|
secureJsonData: {}
|
||||||
# - name: Prometheus
|
# - name: Prometheus
|
||||||
|
|||||||
Reference in New Issue
Block a user