Use correct apigroup for NetworkPolicy
Follow-up to #4225. networking -> networking.k8s.io. Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
@@ -73,7 +73,7 @@ Let's say you want to limit access to the `nginx` service so that only pods with
|
||||
|
||||
```yaml
|
||||
kind: NetworkPolicy
|
||||
apiVersion: networking/v1
|
||||
apiVersion: networking.k8s.io/v1
|
||||
metadata:
|
||||
name: access-nginx
|
||||
spec:
|
||||
|
||||
Reference in New Issue
Block a user