Skip to content

Commit

Permalink
Add MatchExpression support for SecurityPolicy
Browse files Browse the repository at this point in the history
1.Support MatchExpression Operator: 'NotIn', 'Exists',
'DoesNotExist' for VM/Pod/Namespace label selectors
in SecurityPolicy

2.Given NSX doesn't support MatchExpression Operator 'In',
and only five criteria are allowed currently,
which results into a gigantic group expression body to be passed to NSX.
So, only allow just one Operator 'In' MatchExpressions with at most
of five values in it.
  • Loading branch information
timdengyun committed Jan 25, 2022
1 parent 85215b0 commit dc0a843
Show file tree
Hide file tree
Showing 2 changed files with 482 additions and 69 deletions.
Loading

0 comments on commit dc0a843

Please sign in to comment.