Skip to content

Add support for Consul 1.15.x#159

Merged
cthain merged 6 commits into
mainfrom
cthain/support-consul-1-15
Mar 14, 2023
Merged

Add support for Consul 1.15.x#159
cthain merged 6 commits into
mainfrom
cthain/support-consul-1-15

Conversation

@cthain
Copy link
Copy Markdown
Contributor

@cthain cthain commented Mar 6, 2023

Changes proposed in this PR:

This PR adds support for:

  • Acceptance testing with the latest N-2 Consul versions (Currently, 1.15.0, 1.14.4, and 1.13.6)
  • Using the Consul HTTP API to read the client ACL token after performing the consul login using the AWS auth method. There is an issue with using the consul acl token read -self on Consul 1.15.0, so mesh-task and gateway-task have been updated to use the HTTP API instead.
  • Bumps the Envoy version to v1.23.1 and switches to distroless
  • Uses the new consul-ecs net-dial command for ECS health checks on the sidecar-proxy container.

How I've tested this PR:

  • Acceptance tests

How I expect reviewers to test this PR:

👀

Checklist:

  • Tests added - Added Consul 1.15.0 to acceptance test matrix.
  • CHANGELOG entry added

@cthain cthain requested a review from pglass March 6, 2023 22:42
Copy link
Copy Markdown

@eikenb eikenb 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'm curious... what templating system are those .tpl files using?

@cthain
Copy link
Copy Markdown
Contributor Author

cthain commented Mar 8, 2023

I'm curious... what templating system are those .tpl files using?

The templates are rendered in the module using the Terraform templatefile function

Comment thread .circleci/config.yml Outdated
Comment thread test/acceptance/tests/basic/terraform/basic-install/main.tf Outdated
@cthain cthain merged commit c4aad9e into main Mar 14, 2023
@cthain cthain deleted the cthain/support-consul-1-15 branch March 14, 2023 15:35
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.

4 participants