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(transport): Apply tls-connector for discovery when applicable (#334) #338

Merged
merged 1 commit into from
May 5, 2020

Conversation

johanot
Copy link
Contributor

@johanot johanot commented May 3, 2020

Motivation

Trying my luck with a PR for this, even though I'm a newbie here.
Please provide feedback and correct me if I'm wrong.

fixes #334

Solution

Apply optional tls-connector to the discovery client if the tls-feature is enabled.

Performed some tests combined with this patch: johanot/etcd-rs@ad8a264 on etcd-rs - since etcd-rs uses the balanced_list service endpoint to connect to etcd. It seemed to work just fine using TLS.

Copy link
Member

@LucioFranco LucioFranco left a comment

Choose a reason for hiding this comment

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

This should work thanks!

@LucioFranco
Copy link
Member

@johanot would you be able to rebase against master? That should get CI working again.

@johanot
Copy link
Contributor Author

johanot commented May 4, 2020

Done :)

@LucioFranco LucioFranco merged commit 99fbe22 into hyperium:master May 5, 2020
@johanot johanot deleted the v0.2.0-discovery-https branch May 5, 2020 17:41
@johanot johanot mentioned this pull request May 9, 2020
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.

load balance client: missing https/tls config in service-list discover
2 participants