11 lines
189 B
YAML
11 lines
189 B
YAML
---
|
|
kind: NetworkPolicy
|
|
apiVersion: networking.k8s.io/v1
|
|
metadata:
|
|
name: web-allow-external
|
|
spec:
|
|
podSelector:
|
|
matchLabels:
|
|
app.kubernetes.io/instance: nginx
|
|
ingress:
|
|
- {} |