Apply peer authentication policy at port level#20925
Merged
istio-testing merged 6 commits intoistio:masterfrom Feb 8, 2020
Merged
Apply peer authentication policy at port level#20925istio-testing merged 6 commits intoistio:masterfrom
istio-testing merged 6 commits intoistio:masterfrom
Conversation
Contributor
Author
|
/test integ-security-local-tests_istio |
incfly
approved these changes
Feb 7, 2020
Contributor
Author
|
/test integ-istioio-k8s-tests_istio |
yangminzhu
reviewed
Feb 7, 2020
| if a.consolidatedPeerPolicy == nil { | ||
| return model.MTLSPermissive | ||
| } | ||
| if a.consolidatedPeerPolicy.PortLevelMtls != nil { |
Contributor
There was a problem hiding this comment.
What's the expected behavior for passthrough filter chain that doesn't have the port?
Contributor
Author
There was a problem hiding this comment.
The behavior should use the workload level mTLS (i.e a.consolidatedPeerPolicy.Mtls). Implementation-wise, you can change this function to treat a special value (i.e 0) to ignore looking up portLevel settings.
Contributor
|
/test integ-pilot-k8s-tests_istio |
Collaborator
|
In response to a cherrypick label: #20925 failed to apply on top of branch "release-1.5": |
diemtvu
added a commit
to diemtvu/istio
that referenced
this pull request
Feb 8, 2020
* Apply peer authentication policy at port level * Lint * Fix e2e TestReachability/beta-per-port-mtls * Fix mix api test * Add log to test to debug resource apply/delete * Add require env kube for new tests
istio-testing
pushed a commit
that referenced
this pull request
Feb 10, 2020
sdake
pushed a commit
to sdake/istio
that referenced
this pull request
Feb 21, 2020
* Apply peer authentication policy at port level * Lint * Fix e2e TestReachability/beta-per-port-mtls * Fix mix api test * Add log to test to debug resource apply/delete * Add require env kube for new tests
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue: #20746