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 e2eb804 commit 0cbaa4b
Show file tree
Hide file tree
Showing 2 changed files with 409 additions and 61 deletions.
Loading

0 comments on commit 0cbaa4b

Please sign in to comment.