Skip to content

(bug) dynamic Kubernetes cluster domain for MCP server URL#152

Merged
gianlucam76 merged 1 commit intoprojectsveltos:mainfrom
gianlucam76:cluster-domain
Feb 15, 2026
Merged

(bug) dynamic Kubernetes cluster domain for MCP server URL#152
gianlucam76 merged 1 commit intoprojectsveltos:mainfrom
gianlucam76:cluster-domain

Conversation

@gianlucam76
Copy link
Member

Currently, the MCP server URL is hardcoded to use .cluster.local. This causes failures in environments where a custom kubernetesClusterDomain is defined.

This PR updates the logic to honor the KUBERNETES_CLUSTER_DOMAIN environment variable, ensuring the application correctly resolves the service FQDN regardless of cluster configuration.

Fixes #150

Currently, the MCP server URL is hardcoded to use `.cluster.local`.
This causes failures in environments where a custom kubernetesClusterDomain is defined.

This PR updates the logic to honor the KUBERNETES_CLUSTER_DOMAIN environment variable,
ensuring the application correctly resolves the service FQDN regardless of cluster configuration.
@gianlucam76 gianlucam76 merged commit 6f32578 into projectsveltos:main Feb 15, 2026
3 checks passed
@gianlucam76 gianlucam76 deleted the cluster-domain branch February 15, 2026 09:05
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.

Hardcoded value ignores/conflicts with kubernetesClusterDomain helm value

1 participant