From b35465c6ccd18fa15a8e33171062fb233147146e Mon Sep 17 00:00:00 2001 From: Gabriel Radureau Date: Sat, 6 Dec 2025 14:07:31 +0100 Subject: [PATCH] configure clickhouse user --- clickhouse/values.yaml | 25 +++++++++++++++++++++++-- grafana/values.yaml | 2 +- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/clickhouse/values.yaml b/clickhouse/values.yaml index 035e552..bbb7489 100644 --- a/clickhouse/values.yaml +++ b/clickhouse/values.yaml @@ -77,11 +77,32 @@ clickhouse: &clickhouse_config # -- Create a new config map object. create: true # -- Mount path of the config map object. - mountPath: /etc/config + mountPath: /etc/clickhouse-server/users.d/ # -- Use an existing config map object. existingConfigMap: '' # -- Map of configuration files as strings. - files: {} + files: + custom-users.xml: | + + + + + ::1 + 127.0.0.1 + + + + monmotdepasse + + ::/0 + 0.0.0.0/0 + + default + default + 1 + + + # file1.yml: | # # contents # file2.yml: | diff --git a/grafana/values.yaml b/grafana/values.yaml index bbc0593..a7c2a67 100644 --- a/grafana/values.yaml +++ b/grafana/values.yaml @@ -545,7 +545,7 @@ grafana: &grafana_config access: proxy isDefault: false jsonData: - server: "http://clickhouse.tools.svc.cluster.local:8123" + server: "clickhouse.tools.svc.cluster.local" defaultDatabase: "default" secureJsonData: {} # - name: Prometheus