mirror of
https://github.com/nold360/hive-apps
synced 2024-11-16 02:29:34 +00:00
15 lines
268 B
YAML
15 lines
268 B
YAML
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
|
|
|