Private
Public Access
1
0

add namespace and refine ingress rules in CiliumNetworkPolicy for improved traffic segmentation
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 7m3s

This commit is contained in:
Sebastian Unterschütz
2026-01-25 14:47:57 +01:00
parent 5bcaa65bbd
commit aa49976526

View File

@@ -3,7 +3,7 @@ apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
name: default-deny-all
namespace: escapefromteacher
spec:
endpointSelector: {}
ingress:
@@ -21,9 +21,10 @@ spec:
matchLabels:
app: escape-game
ingress:
# Allow HTTP traffic from anywhere (for user access)
- fromEndpoints:
- {}
- matchLabels:
io.cilium.k8s.policy.namespace: traefik
name: traefik
toPorts:
- ports:
- port: "8080"