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
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 7m3s
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user