DataDog / helm-charts

Helm charts for Datadog products
Apache License 2.0
343 stars 1.01k forks source link

change /etc/passwd/ hostpath volume for EKS Bottlerocket OS environments #1381

Open mrdoggopat opened 5 months ago

mrdoggopat commented 5 months ago

What this PR does / why we need it:

Adds the following to the /etc/passwd hostPath volume with type: File to avoid the process-agent from crashing in EKS Bottlerocket environments

Which issue this PR fixes

JIRA CONS-6272

Cases where the process-agent throws the following error in EKS Bottlerocket: "Error: failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/etc/passwd" to rootfs at "/etc/passwd": mount /etc/passwd:/etc/passwd (via /proc/self/fd/6), flags: 0x5001, data: context="system_u:object_r:data_t:s0:c405,c705": not a directory: unknown"

Special notes for your reviewer:

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]