Skip to content

Manual Backport of Add TCP+TLS Healthchecks into release/1.16.x#18678

Merged
loshz merged 1 commit intorelease/1.16.xfrom
backport/loshz/tcp-tls-healthcheck/manual
Sep 5, 2023
Merged

Manual Backport of Add TCP+TLS Healthchecks into release/1.16.x#18678
loshz merged 1 commit intorelease/1.16.xfrom
backport/loshz/tcp-tls-healthcheck/manual

Conversation

@loshz
Copy link
Contributor

@loshz loshz commented Sep 5, 2023

Manual backport of #18381

* Begin adding TCPUseTLS

* More TCP with TLS plumbing

* Making forward progress

* Keep on adding TCP+TLS support for healthchecks

* Removed too many lines

* Unit tests for TCP+TLS

* Update tlsutil/config.go

Co-authored-by: Samantha <hello@entropy.cat>

* Working on the tcp+tls unit test

* Updated the runtime integration tests

* Progress

* Revert this file back to HEAD

* Remove debugging lines

* Implement TLS enabled TCP socket server and make a successful TCP+TLS healthcheck on it

* Update docs

* Update agent/agent_test.go

Co-authored-by: Samantha <hello@entropy.cat>

* Update website/content/docs/ecs/configuration-reference.mdx

Co-authored-by: Samantha <hello@entropy.cat>

* Update website/content/docs/ecs/configuration-reference.mdx

Co-authored-by: Samantha <hello@entropy.cat>

* Update agent/checks/check.go

Co-authored-by: Samantha <hello@entropy.cat>

* Address comments

* Remove extraneous bracket

* Update agent/agent_test.go

Co-authored-by: Samantha <hello@entropy.cat>

* Update agent/agent_test.go

Co-authored-by: Samantha <hello@entropy.cat>

* Update website/content/docs/ecs/configuration-reference.mdx

Co-authored-by: Samantha <hello@entropy.cat>

* Update the mockTLSServer

* Remove trailing newline

* Address comments

* Fix merge problem

* Add changelog entry

---------

Co-authored-by: Samantha <hello@entropy.cat>
(cherry picked from commit 7ea9867)
@loshz loshz requested review from a team as code owners September 5, 2023 20:50
@github-actions github-actions bot added type/docs Documentation needs to be created/updated/clarified theme/api Relating to the HTTP API interface theme/health-checks Health Check functionality theme/config Relating to Consul Agent configuration, including reloading labels Sep 5, 2023
@loshz loshz enabled auto-merge (squash) September 5, 2023 21:06
@loshz loshz merged commit dce0ab6 into release/1.16.x Sep 5, 2023
@loshz loshz deleted the backport/loshz/tcp-tls-healthcheck/manual branch September 5, 2023 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr/no-backport theme/api Relating to the HTTP API interface theme/config Relating to Consul Agent configuration, including reloading theme/health-checks Health Check functionality type/docs Documentation needs to be created/updated/clarified

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants