Skip to content

Commit

Permalink
Validate namespaces.match of AntreaClusterNetworkPolicy rules (#3109)
Browse files Browse the repository at this point in the history
Signed-off-by: Quan Tian <qtian@vmware.com>
  • Loading branch information
tnqn authored Dec 13, 2021
1 parent 2fcec4a commit db46115
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/yamls/antrea-aks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -927,6 +927,8 @@ spec:
namespaces:
properties:
match:
enum:
- Self
type: string
type: object
podSelector:
Expand Down
2 changes: 2 additions & 0 deletions build/yamls/antrea-eks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -927,6 +927,8 @@ spec:
namespaces:
properties:
match:
enum:
- Self
type: string
type: object
podSelector:
Expand Down
2 changes: 2 additions & 0 deletions build/yamls/antrea-gke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -927,6 +927,8 @@ spec:
namespaces:
properties:
match:
enum:
- Self
type: string
type: object
podSelector:
Expand Down
2 changes: 2 additions & 0 deletions build/yamls/antrea-ipsec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -927,6 +927,8 @@ spec:
namespaces:
properties:
match:
enum:
- Self
type: string
type: object
podSelector:
Expand Down
2 changes: 2 additions & 0 deletions build/yamls/antrea-kind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -927,6 +927,8 @@ spec:
namespaces:
properties:
match:
enum:
- Self
type: string
type: object
podSelector:
Expand Down
2 changes: 2 additions & 0 deletions build/yamls/antrea.yml
Original file line number Diff line number Diff line change
Expand Up @@ -927,6 +927,8 @@ spec:
namespaces:
properties:
match:
enum:
- Self
type: string
type: object
podSelector:
Expand Down
2 changes: 2 additions & 0 deletions build/yamls/base/crds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -942,6 +942,8 @@ spec:
type: object
properties:
match:
enum:
- Self
type: string
ipBlock:
type: object
Expand Down

0 comments on commit db46115

Please sign in to comment.