-
Notifications
You must be signed in to change notification settings - Fork 50
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
Add auto peering for Consul Federation #154
Conversation
b656f24
to
1f47195
Compare
I still need to generate the docs! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good so far! I'd echo all of @riddhi89's comments, and I'd like to get some more product/design input on how updates to auto_peering should be handled.
aef2a5c
to
3e6e80b
Compare
3e6e80b
to
3ca23d2
Compare
3ca23d2
to
f16b2bd
Compare
f16b2bd
to
55bd09a
Compare
I removed the default, and re-added |
Running integration tests right now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is close! I have a few more questions, and some doc suggestions. I don't have all the feature flag set up for testing this locally, so I'll leave that to you to verify :)
Ah I did see a panic on my run of the acceptance test, looks like on the data source step:
|
1143722
to
d8dc2db
Compare
7bb3c8c
to
808f897
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! Just two last few nits but otherwise this looks good to go! And acceptance tests are passing now 👍 👍
Co-authored-by: Brenna Hewer-Darroch <[email protected]>
Co-authored-by: Brenna Hewer-Darroch <[email protected]>
@bcmdarroch yeah the panic was caused by the missing changes related to the data-source. |
@bcmdarroch @riddhi89 thank you both for your reviews! I think it is done. |
5c81256
to
bb738c2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested it out manually. LGTM
🛠️ Description
This PR adds the new parameter
auto_hvn_to_hvn_peering
to consul clusters. It enables the user to decided if they want to use automatic peering during federation or not. Needs https://github.com/hashicorp/cloud-consul-service/pull/1253.This PR also semi depends on #156 because right now there is no way to create a manual peering.
🏗️ Acceptance tests
Output from acceptance testing: