mirror of
https://github.com/gwg313/homelab-gitops.git
synced 2026-06-05 22:51:01 +00:00
22 lines
560 B
YAML
22 lines
560 B
YAML
apiVersion: cilium.io/v2
|
|
kind: CiliumNetworkPolicy
|
|
metadata:
|
|
name: allow-ingress
|
|
namespace: bytestash
|
|
spec:
|
|
description: "Allow external traffic from the shared Cilium edge proxy into the bytestash service"
|
|
endpointSelector:
|
|
matchLabels:
|
|
app: bytestash
|
|
ingress:
|
|
- fromEntities:
|
|
- ingress
|
|
- fromEndpoints:
|
|
- matchLabels:
|
|
io.kubernetes.pod.namespace: cilium-ingress
|
|
toPorts:
|
|
- ports:
|
|
- port: "80"
|
|
protocol: TCP
|
|
- port: "5000"
|
|
protocol: TCP
|