Skip to content

Use the configured ClickHouse host in tenant provisioning - #5

Merged
theboringhumane merged 1 commit into
mainfrom
fix/provision-native-endpoint
Oct 10, 2026
Merged

theboringhumane merged 1 commit into
mainfrom
fix/provision-native-endpoint

Conversation

@theboringhumane

Copy link
Copy Markdown
Contributor

Tenant provisioning currently advertises localhost when CH_HOST is absent, even when Lumen connects to a remote ClickHouse server. Use the first configured driver address for the default advertised host and keep its existing port selection. Explicit environment and Infisical CH_HOST overrides retain their precedence.

Tests cover DNS, IPv4, IPv6, multiple addresses, configuration precedence and explicit host/port overrides. Driver TLS, protocol, credentials and compression options remain unchanged. CI will run the existing race, integration, build and vet checks; a fresh Enterprise image still needs native endpoint qualification before deployment.

Signed-off-by: theboringhumane <me@iamharsh.dev>
@theboringhumane
theboringhumane merged commit 2f996f8 into main Oct 10, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant