Skip to content

Commit

Permalink
Fix sample network policy manifests (kubernetes#6105)
Browse files Browse the repository at this point in the history
  • Loading branch information
tengqm authored and steveperry-53 committed Nov 1, 2017
1 parent 45b8f18 commit 795d347
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/concepts/services-networking/network-policies.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ kind: NetworkPolicy
metadata:
name: default-deny
spec:
podSelector:
podSelector: {}
policyTypes:
- Ingress
```
Expand All @@ -122,7 +122,7 @@ kind: NetworkPolicy
metadata:
name: allow-all
spec:
podSelector:
podSelector: {}
ingress:
- {}
```
Expand All @@ -137,7 +137,7 @@ kind: NetworkPolicy
metadata:
name: default-deny
spec:
podSelector:
podSelector: {}
policyTypes:
- Egress
```
Expand All @@ -155,7 +155,7 @@ kind: NetworkPolicy
metadata:
name: allow-all
spec:
podSelector:
podSelector: {}
egress:
- {}
```
Expand All @@ -170,7 +170,7 @@ kind: NetworkPolicy
metadata:
name: default-deny
spec:
podSelector:
podSelector: {}
policyTypes:
- Ingress
- Egress
Expand Down

0 comments on commit 795d347

Please sign in to comment.