add(ingress-external): netpol

This commit is contained in:
nold 2024-01-25 20:55:04 +01:00
parent e88168dfc8
commit b456be4011

View file

@ -0,0 +1,15 @@
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