From 0586f6fdc835933d000b3128364da0a7992dd551 Mon Sep 17 00:00:00 2001 From: "juvenal.diaz" Date: Mon, 2 Nov 2026 21:09:32 -0600 Subject: [PATCH] Set consistent security context for privileged Tetragon agent --- bootstrap/platform/variables.tf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bootstrap/platform/variables.tf b/bootstrap/platform/variables.tf index 5ad3337..492c81d 100644 --- a/bootstrap/platform/variables.tf +++ b/bootstrap/platform/variables.tf @@ -356,6 +356,12 @@ variable "extra_helm_releases" { enableProcessCred: true enableProcessNs: true exportFilename: /var/run/cilium/tetragon/tetragon.log + # Set both fields so upgrades/downgrades cannot retain an + # incompatible allowPrivilegeEscalation=false from an older pod + # template. This privileged eBPF agent requires host access. + securityContext: + privileged: true + allowPrivilegeEscalation: true resources: requests: cpu: 100m