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

Deprecate health-sync command #152

Merged
merged 7 commits into from
Jul 13, 2023

Conversation

Ganeshrockz
Copy link
Contributor

Changes proposed in this PR:

  • Deprecated the health-sync command since the health sync logic moves into the control plane in the new ECS architecture.
  • Fixed ACL based unit tests for consul-ecs control plane

How I've tested this PR:

Units tests

How I expect reviewers to test this PR:

Checklist:

  • Tests added
  • CHANGELOG entry added - Not needed

@Ganeshrockz Ganeshrockz requested review from a team and pglass and removed request for a team July 11, 2023 16:31
@Ganeshrockz Ganeshrockz temporarily deployed to dockerhub/hashicorpdev July 11, 2023 16:31 — with GitHub Actions Inactive
Copy link
Contributor

@cthain cthain left a comment

Choose a reason for hiding this comment

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

Looks good 👍 I left a couple of minor comments.

subcommand/control-plane/command_test.go Outdated Show resolved Hide resolved
commands.go Show resolved Hide resolved
@Ganeshrockz Ganeshrockz temporarily deployed to dockerhub/hashicorpdev July 12, 2023 03:51 — with GitHub Actions Inactive
@Ganeshrockz Ganeshrockz requested a review from cthain July 12, 2023 06:11
@Ganeshrockz
Copy link
Contributor Author

@cthain Can you approve the PR if there are no more concerns?

@Ganeshrockz Ganeshrockz temporarily deployed to dockerhub/hashicorpdev July 13, 2023 04:44 — with GitHub Actions Inactive
@Ganeshrockz Ganeshrockz temporarily deployed to dockerhub/hashicorpdev July 13, 2023 05:37 — with GitHub Actions Inactive
@Ganeshrockz Ganeshrockz merged commit 0b79c36 into ganeshrockz/agentless Jul 13, 2023
@Ganeshrockz Ganeshrockz deleted the net-4565/deprecate-health-sync branch July 13, 2023 05:51
Ganeshrockz added a commit that referenced this pull request Aug 21, 2023
#161)

* Added support for server discovery, TLS and ACL login (#143)

* Added support for server discover, TLS and ACL login

* Fix lint

* Test fix

* Fix config tests

* Fix tests

* Still fixing tests

* Fix tests

* Fix tests

* Address comments

* Added protocol specific TLS configs

* Fix tests

* Address comments

* Ability to register services, gateway and proxy (#144)

* Ability to register services, gateway and proxy

* Fix lint

* Refactor registration logic

* Add node meta

* Refactor functions

* Address comments

* Fix unit tests

* Set additionalProperties to false for service object

* Added ability to generate dataplane configuration  (#145)

* Added ability to generate dataplane configuration

* Remove default configs

* Modify approach to use encoding/json

* Added ability to sync health checks back to Consul

* Fix main

* Fix lint

* Write dataplane config to shared volume

* Fix tests

* Check enterprise CI

* Fix tests

* Fix enterprise tests

* Address comments

* Refactor task meta

* Refactoring tests

* Address nit comments

* Support to gracefully shutdown control-plane (#147)

* Support to gracefully shutdown control-plane

* Fix lint

* Address comments

* Address comments

* Add tests

* Deprecate mesh-init in favour of control-plane (#148)

* Deprecate mesh-init in place of control-plane

* Address comments

* Controller changes  to support new ECS architecture - Part 1 (#150)

* Controller changes for agentless

* Fix tests

* Add node tests

* Fix comments

* Fix tests

* Server watch for agentless (#149)

* Server watch implemented

* Add tests

* Address comments

* Added mocks for server connection manager

* Deprecate health-sync command (#152)

* Deprecated health sync command

* Fix tests

* Fix lint

* Fix lint

* Fix tests

* Controller changes to support new architecture - Part 2 (#153)

* Make controller reconcile services

* Fix tests

* Fix tests

* Fix lint

* Fix tests

* Fix enterprise tests

* Fix tests

* Remove dataplane tag

* Refactor reconcile services

* Address comments

* Fix tests

* Fix lint

* Fix lint

* Fix non enterprise tests

* Fixing enterprise tests

* Still trying to fix enterprise tests :(

* Address comments

* Fix tests

* Fix null ref

* Fix comments

* Address comments

* Rename acl controller

* Refactor TLS inputs in ECS_CONFIG_JSON (#154)

* Refactor server TLS inputs

* Fix tests

* Fix merge issues

* Miscellaneous changes for dataplane architecture (#156)

* Added ability to write CA cert to shared volume

* Fix tests

* Comments

* Address comments

* Fix addresses for service and proxy registrations (#157)

* Added ability to write CA cert to shared volume

* Fix tests

* Comments

* Pass ReadyBindAddress and Port to dataplane

* Address comments

* Fix lint

* Address comments

* Fix lint

* Add destinationPeer to upstream config (#159)

* Fix clusterARN login meta for EC2 (#158)

* Fix clusterARN login meta for EC2

* Address comments

* Added go-discover binary to the ECS image (#160)

* Added go-discover binary to the ECS image

* Bump golang version

* Add changelog and make some minor changes

* Fix tests

* Address comments

* Remove breaking changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants