hive-apps/projects/ingress-external/manifest/netpol.yaml

16 lines
268 B
YAML
Raw Permalink Normal View History

2024-01-25 19:55:04 +00:00
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-external-only
namespace: ingress-external
spec:
podSelector: {}
policyTypes:
- Egress
egress:
- to:
- namespaceSelector:
matchLabels:
environment: external