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

Issue 1262 consul connect #1304

Merged
merged 6 commits into from
Nov 9, 2019
Merged

Issue 1262 consul connect #1304

merged 6 commits into from
Nov 9, 2019

Conversation

eikenb
Copy link
Contributor

@eikenb eikenb commented Nov 7, 2019

Initial Consul Connect support. Target is to allow proxies (nginx, haproxy) to route directly to services inside the mesh network. This is the basic support and reference docs. I'm still working on some examples/intros for each.

@eikenb eikenb added this to the 0.23.0 - Consul Connect milestone Nov 7, 2019
@eikenb eikenb requested review from a team November 7, 2019 00:28
template/funcs.go Outdated Show resolved Hide resolved
template/template_test.go Outdated Show resolved Hide resolved
Wrappers that call consul's connect API for use with template setup.
Wraps connect root/leaf fetching calls with template functions so you
can write the certs out using templates.
Wraps /health/connect.

Uses same code as `service` as both /health/service and /health/connect
have the same API except for the actual data. Note that in the consul
code they are handled similarly, with connect and service sharing the
same codebase.
Template function call for connect health service wrapper.
Plus tests.
Current version (1.5.1) has a bug in the connect leaf code, returning a
500 error; "SPIFFE ID is not in the expected format". Updating to 1.5.2+
fixes this.

I'm updating to latest stable (1.6.1) while I'm here doing it.
Copy link
Member

@rboyer rboyer left a comment

Choose a reason for hiding this comment

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

LGTM

@eikenb eikenb merged commit 34cd324 into master Nov 9, 2019
@eikenb eikenb deleted the issue-1262-consul-connect branch November 9, 2019 00:00
@eikenb eikenb added the consul Related to the Consul integration label Nov 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
consul Related to the Consul integration enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants