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.]
[ ] Chart Version bumped
[ ] Documentation has been updated with helm-docs (run: .github/helm-docs.sh)
[ ] CHANGELOG.md has been updated
[ ] Variables are documented in the README.md
[ ] For Datadog Operator chart or value changes update the test baselines (run: make update-test-baselines)
What this PR does / why we need it:
Adds the following to the
/etc/passwd
hostPath volume withtype: File
to avoid the process-agent from crashing in EKS Bottlerocket environmentsWhich 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.]
.github/helm-docs.sh
)CHANGELOG.md
has been updatedREADME.md
make update-test-baselines
)