mirror of
https://github.com/nold360/hive-apps
synced 2024-12-23 22:21:12 +00:00
16 lines
268 B
YAML
16 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
|
||
|
|