Skip to content

Commit

Permalink
fix(clickhouse): bind ipv6 and ipv4 by default
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Jules Lefebvre committed Jan 2, 2025
1 parent 1fe7c59 commit 59c0cff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bitnami/clickhouse/templates/scripts-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"
2 changes: 2 additions & 0 deletions bitnami/clickhouse/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,8 @@ defaultConfigurationOverrides: |
<asynchronous_metrics>true</asynchronous_metrics>
</prometheus>
{{- end }}
<listen_host>0.0.0.0</listen_host>
<listen_host>::</listen_host>
</clickhouse>
## @param existingOverridesConfigmap The name of an existing ConfigMap with your custom configuration for ClickHouse
##
Expand Down

0 comments on commit 59c0cff

Please sign in to comment.