Update networkpolicies.md
This commit is contained in:
@@ -56,9 +56,9 @@ A minimal `NetworkPolicy` might look like this:
|
|||||||
```yaml
|
```yaml
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: extensions/v1beta1
|
||||||
kind: NetworkPolicy
|
kind: NetworkPolicy
|
||||||
namespace: default
|
|
||||||
metadata:
|
metadata:
|
||||||
name: test-network-policy
|
name: test-network-policy
|
||||||
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
podSelector:
|
podSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
|
|||||||
Reference in New Issue
Block a user