Files
website/content/zh/examples/service/networking/network-policy-allow-all-ingress.yaml
2020-07-05 10:04:33 +08:00

11 lines
158 B
YAML

apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-all-ingress
spec:
podSelector: {}
ingress:
- {}
policyTypes:
- Ingress