mirror of
https://github.com/nold360/hive-apps
synced 2024-12-24 22:51:14 +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
|
|
|