Fix sample network policy manifests (#6105)
This commit is contained in:
@@ -105,7 +105,7 @@ kind: NetworkPolicy
|
|||||||
metadata:
|
metadata:
|
||||||
name: default-deny
|
name: default-deny
|
||||||
spec:
|
spec:
|
||||||
podSelector:
|
podSelector: {}
|
||||||
policyTypes:
|
policyTypes:
|
||||||
- Ingress
|
- Ingress
|
||||||
```
|
```
|
||||||
@@ -122,7 +122,7 @@ kind: NetworkPolicy
|
|||||||
metadata:
|
metadata:
|
||||||
name: allow-all
|
name: allow-all
|
||||||
spec:
|
spec:
|
||||||
podSelector:
|
podSelector: {}
|
||||||
ingress:
|
ingress:
|
||||||
- {}
|
- {}
|
||||||
```
|
```
|
||||||
@@ -137,7 +137,7 @@ kind: NetworkPolicy
|
|||||||
metadata:
|
metadata:
|
||||||
name: default-deny
|
name: default-deny
|
||||||
spec:
|
spec:
|
||||||
podSelector:
|
podSelector: {}
|
||||||
policyTypes:
|
policyTypes:
|
||||||
- Egress
|
- Egress
|
||||||
```
|
```
|
||||||
@@ -155,7 +155,7 @@ kind: NetworkPolicy
|
|||||||
metadata:
|
metadata:
|
||||||
name: allow-all
|
name: allow-all
|
||||||
spec:
|
spec:
|
||||||
podSelector:
|
podSelector: {}
|
||||||
egress:
|
egress:
|
||||||
- {}
|
- {}
|
||||||
```
|
```
|
||||||
@@ -170,7 +170,7 @@ kind: NetworkPolicy
|
|||||||
metadata:
|
metadata:
|
||||||
name: default-deny
|
name: default-deny
|
||||||
spec:
|
spec:
|
||||||
podSelector:
|
podSelector: {}
|
||||||
policyTypes:
|
policyTypes:
|
||||||
- Ingress
|
- Ingress
|
||||||
- Egress
|
- Egress
|
||||||
|
|||||||
Reference in New Issue
Block a user