From aa889cdc7a697afc7223128dee1016fb1089e012 Mon Sep 17 00:00:00 2001 From: pvishwa3 Date: Sun, 15 Nov 2026 14:43:23 -0500 Subject: [PATCH] Cilium: L7 HTTP rule on a port with no protocol --- k8s/cilium-policy.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 k8s/cilium-policy.yaml diff --git a/k8s/cilium-policy.yaml b/k8s/cilium-policy.yaml new file mode 100644 index 0000000..cb99fef --- /dev/null +++ b/k8s/cilium-policy.yaml @@ -0,0 +1,18 @@ +apiVersion: cilium.io/v2 +kind: CiliumNetworkPolicy +metadata: + name: gate-web-l7 + namespace: rtz-gate-demo +spec: + endpointSelector: + matchLabels: {app: gate-web} + ingress: + - fromEndpoints: + - matchLabels: {"k8s:io.kubernetes.pod.namespace": rtz-gate-demo} + toPorts: + - ports: + - port: "8080" + rules: + http: + - {method: GET, path: "/.*"} +