k8s-deployment/manifests/cilium/cilium-allow-google.yaml

33 lines
764 B
YAML
Raw Normal View History

2024-10-09 06:33:24 +00:00
apiVersion: "cilium.io/v2"
kind: CiliumNetworkPolicy
metadata:
name: "cilium-policy-allow-google"
namespace: public-xray
spec:
endpointSelector:
matchLabels:
app.kubernetes.io/instance: server-xray-public
app.kubernetes.io/name: server-xray
egress:
2024-10-09 10:34:32 +00:00
- toPorts:
- ports:
- port: "53"
protocol: ANY
2024-10-09 06:33:24 +00:00
- toPorts:
- ports:
- port: "80"
2024-10-09 10:34:32 +00:00
protocol: ANY
- port: "8080"
protocol: ANY
2024-10-09 06:33:24 +00:00
- port: "443"
2024-10-09 10:34:32 +00:00
protocol: ANY
- port: "27015"
protocol: ANY
- port: "45000"
endPort: 60000
protocol: UDP
toEntities:
- world
- host
- remote-node