-
Notifications
You must be signed in to change notification settings - Fork 7
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 health-sync command to ECS #210
Add health-sync command to ECS #210
Conversation
|
||
// fetchHealthChecks fetches the Consul health checks for both the service | ||
// and proxy registrations | ||
func (c *Command) fetchHealthChecks(consulClient *api.Client, taskMeta awsutil.ECSTaskMeta) (map[string]*api.HealthCheck, error) { |
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 a newly added function. Others in this PR are a copy paste of code removed in #207
<-c.proceedChan | ||
} | ||
|
||
for { |
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.
The entire reconciliation loop was just a copy paste from #207
@@ -0,0 +1,81 @@ | |||
// Copyright (c) HashiCorp, Inc. | |||
// SPDX-License-Identifier: MPL-2.0 |
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 file is also a copy paste of the existing implementation removed in #209
* Offload tons of responsibilities from control-plane * Pass dynamic login config to Dataplane instead of static credentials (#208) * Pass dynamic login credentials to dataplane * Fix tests * Fix lint * Rename Control plane to mesh-init (#209) * Add health-sync command to ECS (#210) * Add health-sync command to ECS * Fix enterprise tests by creating namespaces and partitions * Fix partition bug * Try fix tests * Timeout * Remove timeout * Still fixing tests :( * Fix nil panic * Add changelog
Changes proposed in this PR:
health-sync
to the command factory.healthsync
package.mesh-init
How I've tested this PR:
How I expect reviewers to test this PR:
Checklist: