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.

3.Add NSX-T limitation and NSGroup Criteria check
  • Loading branch information
timdengyun committed Jan 29, 2022
1 parent 23cd9f5 commit c6fb922
Show file tree
Hide file tree
Showing 2 changed files with 696 additions and 69 deletions.
Loading

0 comments on commit c6fb922

Please sign in to comment.