diff --git a/terraform/eks/container-insights-agent/daemonset.tpl b/terraform/eks/container-insights-agent/daemonset.tpl index d71eae758..a8d8c7d2f 100644 --- a/terraform/eks/container-insights-agent/daemonset.tpl +++ b/terraform/eks/container-insights-agent/daemonset.tpl @@ -16,6 +16,9 @@ spec: containers: - name: aws-otel-collector image: ${OTELIMAGE} + securityContext: + runAsUser: 0 + runAsGroup: 0 env: - name: K8S_NODE_NAME valueFrom: