Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove server lookup #3383

Merged
merged 2 commits into from
Oct 6, 2022
Merged

fix: remove server lookup #3383

merged 2 commits into from
Oct 6, 2022

Conversation

mxyng
Copy link
Collaborator

@mxyng mxyng commented Oct 4, 2022

Summary

Remove the server lookup when server config value is localhost. The original use case for this was to provide a simple way to configure a in-cluster connector. This is no longer useful. Users should provide the server URL explicitly

Resolves #3380

Copy link
Contributor

@dnephin dnephin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thanks for making this change. One question and one suggestion on the improved error message

internal/kubernetes/kubernetes.go Show resolved Hide resolved
internal/kubernetes/kubernetes.go Outdated Show resolved Hide resolved
@mxyng mxyng merged commit cf396fe into main Oct 6, 2022
@mxyng mxyng deleted the mxyng/rm-server-lookup branch October 6, 2022 16:30
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.

connector should lookup server addr only when unset, not when the value is localhost
3 participants