From 93ba6d3ffea2e72b4adf7f97521a403ee169f1d8 Mon Sep 17 00:00:00 2001 From: Mohamed Mahmoud Date: Fri, 3 Jan 2025 11:34:09 -0500 Subject: [PATCH] Pkt translation envvar not been set correctly Signed-off-by: Mohamed Mahmoud --- controllers/ebpf/agent_controller.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/controllers/ebpf/agent_controller.go b/controllers/ebpf/agent_controller.go index 7c3ad17d9..b52ec2af4 100644 --- a/controllers/ebpf/agent_controller.go +++ b/controllers/ebpf/agent_controller.go @@ -701,7 +701,8 @@ func (c *AgentController) setEnvConfig(coll *flowslatest.FlowCollector) []corev1 if helper.IsPacketTranslationEnabled(&coll.Spec.Agent.EBPF) { config = append(config, corev1.EnvVar{ - Name: envEnablePacketTranslation, + Name: envEnablePacketTranslation, + Value: "true", }) } if helper.IsEbpfManagerEnabled(&coll.Spec.Agent.EBPF) {