mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-22 12:43:32 +09:00
Vector binds 0.0.0.0 inside the pod netns and exposes it as a containerPort, so any pod could reach <podIP>:<listenPort> and inject forged talos_system log lines. The ingress restriction is therefore load-bearing, not defence-in-depth as the comment claimed. The CiliumNetworkPolicy only rendered when the Cilium CRD was present, leaving the receiver unprotected on non-Cilium variants (e.g. isp-hosted / noop networking). Correct the comment and, when the Cilium CRD is absent, fall back to a default-deny-ingress networking.k8s.io/v1 NetworkPolicy so the socket is never offered without protection. Signed-off-by: IvanHunters <xorokhotnikov@gmail.com>