-
Notifications
You must be signed in to change notification settings - Fork 338
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(meshexternalservice): fix missing tls context (#12162)
## Motivation #11985 it seems that TLS context wasn't set correctly for MES. ## Implementation information There were two main problems: * We didn't set the TLS context on the egress. * We didn't correctly extract the metadata from the dataplane to check `SystemCaPath`. Both issues resulted in the TLS context not being set correctly. Added a change that retrieved correct metadata and fixed the test. I also added an e2e test that first verifies we cannot communicate with the TLS 1.3 server when using TLS 1.2. It then switches to TLS 1.3 to confirm that communication works. ## Supporting documentation <!-- Is there a MADR? An Issue? A related PR? --> Fix #11985 <!-- > Changelog: skip --> <!-- Uncomment the above section to explicitly set a [`> Changelog:` entry here](https://github.com/kumahq/kuma/blob/master/CONTRIBUTING.md#submitting-a-patch)? --> --------- Signed-off-by: Lukasz Dziedziak <[email protected]>
- Loading branch information
Showing
11 changed files
with
297 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.