forked from istio/istio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use TargetRef for Authorization Policy Enforcement (istio#46560)
* Add temporary comments for work to be done Signed-off-by: Whitney Griffith <[email protected]> * modify ListAuthorizationPolicies() to use targetRef instead of workloadSelector when in ambient mode Signed-off-by: Whitney Griffith <[email protected]> * add targetRef testcases to authorization_test.go Signed-off-by: Whitney Griffith <[email protected]> * address comments Signed-off-by: Whitney Griffith <[email protected]> * address comments Signed-off-by: Whitney Griffith <[email protected]> * ListAuthorizationPolicies expects a proxyInfo struct Signed-off-by: Whitney Griffith <[email protected]> * Refactor ListAuthorizationPolicies() Signed-off-by: Whitney Griffith <[email protected]> * address comments Signed-off-by: Whitney Griffith <[email protected]> * address comments Signed-off-by: Whitney Griffith <[email protected]> * refactor to apply targetRef to ingress gateways Signed-off-by: Whitney Griffith <[email protected]> * Add release notes Signed-off-by: Whitney Griffith <[email protected]> * Address tests errors Signed-off-by: Whitney Griffith <[email protected]> * Rename workload selector options struct Signed-off-by: Whitney Griffith <[email protected]> * Refactor to use getPolicymatcher Signed-off-by: Whitney Griffith <[email protected]> * Export WorkloadSelectorOpts fields Signed-off-by: Whitney Griffith <[email protected]> * Fix linter Signed-off-by: Whitney Griffith <[email protected]> * Update authorization tests Signed-off-by: Whitney Griffith <[email protected]> * Update authorization tests Signed-off-by: Whitney Griffith <[email protected]> * update AuthorizationPolicy in test data Signed-off-by: Whitney Griffith <[email protected]> * update AuthorizationPolicy in policy attachment test data Signed-off-by: Whitney Griffith <[email protected]> * Address comments Signed-off-by: Whitney Griffith <[email protected]> * Address comments Signed-off-by: Whitney Griffith <[email protected]> --------- Signed-off-by: Whitney Griffith <[email protected]> Signed-off-by: Whitney Griffith <[email protected]>
- Loading branch information
1 parent
12ada53
commit e333e90
Showing
11 changed files
with
216 additions
and
78 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
Oops, something went wrong.