mirror of
https://github.com/nold360/hive-apps
synced 2024-11-08 06:46:36 +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
|
|
|