Add PolicyTypes to allow-all egress policy (#7895)
`PolicyTypes` default to `["Egress", "Ingress"]`, it doesn't make sense for egress-only policy to have `Ingress` as PolicyType.
This commit is contained in:
committed by
zacharysarah
parent
bf7a9fc10b
commit
7d44eafe1b
@@ -162,6 +162,8 @@ spec:
|
||||
podSelector: {}
|
||||
egress:
|
||||
- {}
|
||||
policyTypes:
|
||||
- Egress
|
||||
```
|
||||
|
||||
### Default deny all ingress and all egress traffic
|
||||
|
||||
Reference in New Issue
Block a user