From 59c0cff5d0b99b3284ef31b7071b7318261eabca Mon Sep 17 00:00:00 2001 From: Jules Lefebvre Date: Thu, 26 Dec 2024 11:07:58 +0100 Subject: [PATCH] fix(clickhouse): bind ipv6 and ipv4 by default Modify `defaultConfigurationOverrides` to listen on ipv4 and ipv6 and replace the default launch args of the `setup.sh` to accept args Signed-off-by: Jules Lefebvre --- bitnami/clickhouse/templates/scripts-configmap.yaml | 2 +- bitnami/clickhouse/values.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bitnami/clickhouse/templates/scripts-configmap.yaml b/bitnami/clickhouse/templates/scripts-configmap.yaml index 1a4288de4064e9..e3f6dd189c690a 100644 --- a/bitnami/clickhouse/templates/scripts-configmap.yaml +++ b/bitnami/clickhouse/templates/scripts-configmap.yaml @@ -31,4 +31,4 @@ data: exit 1 fi fi - exec /opt/bitnami/scripts/clickhouse/entrypoint.sh /opt/bitnami/scripts/clickhouse/run.sh -- --listen_host=0.0.0.0 + exec /opt/bitnami/scripts/clickhouse/entrypoint.sh /opt/bitnami/scripts/clickhouse/run.sh "$@" diff --git a/bitnami/clickhouse/values.yaml b/bitnami/clickhouse/values.yaml index f2ee6d998d5a77..d7568ed66b3e09 100644 --- a/bitnami/clickhouse/values.yaml +++ b/bitnami/clickhouse/values.yaml @@ -415,6 +415,8 @@ defaultConfigurationOverrides: | true {{- end }} + 0.0.0.0 + :: ## @param existingOverridesConfigmap The name of an existing ConfigMap with your custom configuration for ClickHouse ##