Skip to content

Commit

Permalink
Add testcases for appliedTo per rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Dyanngg committed Dec 8, 2020
1 parent 03d9433 commit 349e3b2
Show file tree
Hide file tree
Showing 14 changed files with 334 additions and 114 deletions.
28 changes: 8 additions & 20 deletions build/yamls/antrea-aks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,6 @@ spec:
- Allow
- Drop
type: string
<<<<<<< HEAD
enableLogging:
type: boolean
=======
appliedTo:
items:
properties:
Expand All @@ -122,7 +118,8 @@ spec:
x-kubernetes-preserve-unknown-fields: true
type: object
type: array
>>>>>>> Add appliedTo field in rules and update validationWebook
enableLogging:
type: boolean
name:
type: string
ports:
Expand Down Expand Up @@ -161,10 +158,6 @@ spec:
- Allow
- Drop
type: string
<<<<<<< HEAD
enableLogging:
type: boolean
=======
appliedTo:
items:
properties:
Expand All @@ -174,7 +167,8 @@ spec:
x-kubernetes-preserve-unknown-fields: true
type: object
type: array
>>>>>>> Add appliedTo field in rules and update validationWebook
enableLogging:
type: boolean
from:
items:
properties:
Expand Down Expand Up @@ -350,10 +344,6 @@ spec:
- Allow
- Drop
type: string
<<<<<<< HEAD
enableLogging:
type: boolean
=======
appliedTo:
items:
properties:
Expand All @@ -362,7 +352,8 @@ spec:
x-kubernetes-preserve-unknown-fields: true
type: object
type: array
>>>>>>> Add appliedTo field in rules and update validationWebook
enableLogging:
type: boolean
name:
type: string
ports:
Expand Down Expand Up @@ -403,10 +394,6 @@ spec:
- Allow
- Drop
type: string
<<<<<<< HEAD
enableLogging:
type: boolean
=======
appliedTo:
items:
properties:
Expand All @@ -415,7 +402,8 @@ spec:
x-kubernetes-preserve-unknown-fields: true
type: object
type: array
>>>>>>> Add appliedTo field in rules and update validationWebook
enableLogging:
type: boolean
from:
items:
properties:
Expand Down
28 changes: 8 additions & 20 deletions build/yamls/antrea-eks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,6 @@ spec:
- Allow
- Drop
type: string
<<<<<<< HEAD
enableLogging:
type: boolean
=======
appliedTo:
items:
properties:
Expand All @@ -122,7 +118,8 @@ spec:
x-kubernetes-preserve-unknown-fields: true
type: object
type: array
>>>>>>> Add appliedTo field in rules and update validationWebook
enableLogging:
type: boolean
name:
type: string
ports:
Expand Down Expand Up @@ -161,10 +158,6 @@ spec:
- Allow
- Drop
type: string
<<<<<<< HEAD
enableLogging:
type: boolean
=======
appliedTo:
items:
properties:
Expand All @@ -174,7 +167,8 @@ spec:
x-kubernetes-preserve-unknown-fields: true
type: object
type: array
>>>>>>> Add appliedTo field in rules and update validationWebook
enableLogging:
type: boolean
from:
items:
properties:
Expand Down Expand Up @@ -350,10 +344,6 @@ spec:
- Allow
- Drop
type: string
<<<<<<< HEAD
enableLogging:
type: boolean
=======
appliedTo:
items:
properties:
Expand All @@ -362,7 +352,8 @@ spec:
x-kubernetes-preserve-unknown-fields: true
type: object
type: array
>>>>>>> Add appliedTo field in rules and update validationWebook
enableLogging:
type: boolean
name:
type: string
ports:
Expand Down Expand Up @@ -403,10 +394,6 @@ spec:
- Allow
- Drop
type: string
<<<<<<< HEAD
enableLogging:
type: boolean
=======
appliedTo:
items:
properties:
Expand All @@ -415,7 +402,8 @@ spec:
x-kubernetes-preserve-unknown-fields: true
type: object
type: array
>>>>>>> Add appliedTo field in rules and update validationWebook
enableLogging:
type: boolean
from:
items:
properties:
Expand Down
28 changes: 8 additions & 20 deletions build/yamls/antrea-gke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,6 @@ spec:
- Allow
- Drop
type: string
<<<<<<< HEAD
enableLogging:
type: boolean
=======
appliedTo:
items:
properties:
Expand All @@ -122,7 +118,8 @@ spec:
x-kubernetes-preserve-unknown-fields: true
type: object
type: array
>>>>>>> Add appliedTo field in rules and update validationWebook
enableLogging:
type: boolean
name:
type: string
ports:
Expand Down Expand Up @@ -161,10 +158,6 @@ spec:
- Allow
- Drop
type: string
<<<<<<< HEAD
enableLogging:
type: boolean
=======
appliedTo:
items:
properties:
Expand All @@ -174,7 +167,8 @@ spec:
x-kubernetes-preserve-unknown-fields: true
type: object
type: array
>>>>>>> Add appliedTo field in rules and update validationWebook
enableLogging:
type: boolean
from:
items:
properties:
Expand Down Expand Up @@ -350,10 +344,6 @@ spec:
- Allow
- Drop
type: string
<<<<<<< HEAD
enableLogging:
type: boolean
=======
appliedTo:
items:
properties:
Expand All @@ -362,7 +352,8 @@ spec:
x-kubernetes-preserve-unknown-fields: true
type: object
type: array
>>>>>>> Add appliedTo field in rules and update validationWebook
enableLogging:
type: boolean
name:
type: string
ports:
Expand Down Expand Up @@ -403,10 +394,6 @@ spec:
- Allow
- Drop
type: string
<<<<<<< HEAD
enableLogging:
type: boolean
=======
appliedTo:
items:
properties:
Expand All @@ -415,7 +402,8 @@ spec:
x-kubernetes-preserve-unknown-fields: true
type: object
type: array
>>>>>>> Add appliedTo field in rules and update validationWebook
enableLogging:
type: boolean
from:
items:
properties:
Expand Down
28 changes: 8 additions & 20 deletions build/yamls/antrea-ipsec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,6 @@ spec:
- Allow
- Drop
type: string
<<<<<<< HEAD
enableLogging:
type: boolean
=======
appliedTo:
items:
properties:
Expand All @@ -122,7 +118,8 @@ spec:
x-kubernetes-preserve-unknown-fields: true
type: object
type: array
>>>>>>> Add appliedTo field in rules and update validationWebook
enableLogging:
type: boolean
name:
type: string
ports:
Expand Down Expand Up @@ -161,10 +158,6 @@ spec:
- Allow
- Drop
type: string
<<<<<<< HEAD
enableLogging:
type: boolean
=======
appliedTo:
items:
properties:
Expand All @@ -174,7 +167,8 @@ spec:
x-kubernetes-preserve-unknown-fields: true
type: object
type: array
>>>>>>> Add appliedTo field in rules and update validationWebook
enableLogging:
type: boolean
from:
items:
properties:
Expand Down Expand Up @@ -350,10 +344,6 @@ spec:
- Allow
- Drop
type: string
<<<<<<< HEAD
enableLogging:
type: boolean
=======
appliedTo:
items:
properties:
Expand All @@ -362,7 +352,8 @@ spec:
x-kubernetes-preserve-unknown-fields: true
type: object
type: array
>>>>>>> Add appliedTo field in rules and update validationWebook
enableLogging:
type: boolean
name:
type: string
ports:
Expand Down Expand Up @@ -403,10 +394,6 @@ spec:
- Allow
- Drop
type: string
<<<<<<< HEAD
enableLogging:
type: boolean
=======
appliedTo:
items:
properties:
Expand All @@ -415,7 +402,8 @@ spec:
x-kubernetes-preserve-unknown-fields: true
type: object
type: array
>>>>>>> Add appliedTo field in rules and update validationWebook
enableLogging:
type: boolean
from:
items:
properties:
Expand Down
Loading

0 comments on commit 349e3b2

Please sign in to comment.