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 19, 2022
1 parent b605465 commit 0ec398d
Show file tree
Hide file tree
Showing 2 changed files with 410 additions and 52 deletions.
Loading

0 comments on commit 0ec398d

Please sign in to comment.