Correct hyphenation of net.beta.kubernetes.io/network-policy
This commit is contained in:
@@ -41,7 +41,7 @@ metadata:
|
|||||||
To configure the annotation via `kubectl`:
|
To configure the annotation via `kubectl`:
|
||||||
|
|
||||||
```shell{% raw %}
|
```shell{% raw %}
|
||||||
kubectl annotate ns <namespace> "net.beta.kubernetes.io/networkpolicy={\"ingress\": {\"isolation\": \"DefaultDeny\"}}"
|
kubectl annotate ns <namespace> "net.beta.kubernetes.io/network-policy={\"ingress\": {\"isolation\": \"DefaultDeny\"}}"
|
||||||
{% endraw %}```
|
{% endraw %}```
|
||||||
|
|
||||||
## The `NetworkPolicy` Resource
|
## The `NetworkPolicy` Resource
|
||||||
|
|||||||
Reference in New Issue
Block a user