Skip to content

fix(): Add Istio mTLS exclusion for application pods while communicating with NSM manager on port 5000#445

Open
greninja517 wants to merge 1 commit intokubeslice:masterfrom
greninja517:fix-mtls
Open

fix(): Add Istio mTLS exclusion for application pods while communicating with NSM manager on port 5000#445
greninja517 wants to merge 1 commit intokubeslice:masterfrom
greninja517:fix-mtls

Conversation

@greninja517
Copy link

Description

This PR fixes the issue #331 where application pods in slices crash when Istio peer authentication is set to STRICT mode. PR modifies the applicationPod by introducing an annotation that bypasses Istio mTLS on port 5000 while communicating with NSM manager during the pod registration in the slice.
This allows NSM communication to bypass mTLS enforcement while preserving security for all other traffic.

Fixes #331

How Has This Been Tested?

Checklist:

  • The title of the PR states what changed and the related issues number (used for the release note).
  • Does this PR requires documentation updates?
  • I've updated documentation as required by this PR.
  • I have ran go fmt
  • I have updated the helm chart as required by this PR.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have tested it for all user roles.
  • I have added all the required unit test cases.
  • I have verified the E2E test cases with new code changes.
  • I have added all the required E2E test cases.

Does this PR introduce a breaking change?


…ating with NSM manager in Strict mode

Signed-off-by: anjal <anjalpoudel517+github@gmail.com>
@gourishkb
Copy link
Contributor

Hey @greninja517 thanks for the PR, can you please share how you have tested these changes ?

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.

Bug: Bookinfo pods in crashloop when istio mtls is enabled

2 participants