[CONTP-2117] Revert "Always mount /opt/datadog-agent/run in all Agent containers #3502)" #3503
<!-- codex-pull-request-review-summary -->
Codex Review Summary
This comment shows the latest Codex review activity on this pull request.
| Review | Status | Commit | Review trigger |
| --- | --- | --- | --- |
| 📝 Code Review | ✅ Completed <relative-time datetime="2026-09-22T19:57:50.078315Z">2026-09-22T19:57:50.078315Z</relative-time> | 3041bb4 | PR opened |
<details> <summary>ℹ️ About Codex in GitHub</summary>
<br/>
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
</details>
Approved these changes.
<a target='_blank' href='https://app.datadoghq.com/ci/pipeline-executions?query=ci_level%3Ajob+%40ci.status%3Aerror+%40git.commit.sha%3A3041bb477572ef3f2ceb9d96f2bf22881d79ce96&referrer=pr-comment&start=1790104983000'><picture><source media="(prefers-color-scheme: dark)" srcset="https://static.datadoghq.com/static/images/pr_comments/software_delivery/badges_header/pipelines-error.svg"/><img src="https://static.datadoghq.com/static/images/pr_comments/software_delivery/badges_header/pipelines-error-light.svg" alt="Pipelines" align="center" /></picture></a> <a target='_blank' href='https://app.datadoghq.com/ci/code-coverage/github.com%2Fdatadog%2Fdatadog-operator/pull-requests/3503'><picture><source media="(prefers-color-scheme: dark)" srcset="https://static.datadoghq.com/static/images/pr_comments/software_delivery/badges_header/code-coverage-ok.svg"/><img src="https://static.datadoghq.com/static/images/pr_comments/software_delivery/badges_header/code-coverage-ok-light.svg" alt="Code Coverage" align="center" /></picture></a>
❌ Errors
Your PR has failed checks. Please review the issues below and take necessary action before merging.
🚦 2 Pipeline jobs failed
<blockquote>
<div>
<details open>
<summary>DataDog/datadog-operator | check_formatting — 🔄 Retry may pass, looks flaky</summary>
<a href="https://app.datadoghq.com/ci/pull-request/Z2l0aHViLmNvbS9kYXRhZG9nL2RhdGFkb2ctb3BlcmF0b3IvMzUwMw==?referrer=pr-comment&buildId=AwAAAaDKuAow-9oYDwAAABhBYURLdUFvd0FBQmkyV0dMY21LRlZIclYAAAAkZjFhMGNhYmEtZDc1NC00Njc5LWIxZWQtNTA5MTM1YzliOTA1AAAP4g&ciFailurePanel=job">View more details</a> · <a href="https://gitlab.ddbuild.io/DataDog/datadog-operator/-/jobs/2069502488">View in GitLab</a>
</details>
<details open>
<summary>DataDog/datadog-operator | verify_licenses — 🔄 Retry may pass, looks flaky</summary>
<a href="https://app.datadoghq.com/ci/pull-request/Z2l0aHViLmNvbS9kYXRhZG9nL2RhdGFkb2ctb3BlcmF0b3IvMzUwMw==?referrer=pr-comment&buildId=AwAAAaDKuAZIlOuNngAAABhBYURLdUFaSUFBQ1phenlNUkVoVy1uclYAAAAkZjFhMGNhYjgtYjhjNC00NGIzLWJlYzMtYzNjNDRhZjQ4NDdjAAAI3A&ciFailurePanel=job">View more details</a> · <a href="https://gitlab.ddbuild.io/DataDog/datadog-operator/-/jobs/2069502483">View in GitLab</a>
</details>
</div>
</blockquote>
ℹ️ Info
🎯 Code Coverage (<a target='_blank' href='https://app.datadoghq.com/ci/code-coverage/github.com%2Fdatadog%2Fdatadog-operator/pull-requests/3503'>details</a>)<br>• <strong><span title="Percentage of modified executable lines covered by tests in this PR">Patch Coverage</span></strong>: 100.00%<br>• <strong><span title="Percentage of all executable lines covered by tests in the entire codebase">Overall Coverage</span></strong>: 51.24%<br>
Useful? React with 👍 / 👎
<sub>
This comment will be updated automatically if new data arrives. <br />
🔗 Commit SHA: 3041bb4 | <a href="https://docs.datadoghq.com/integrations/guide/source-code-integration/#pr-comments">Docs</a> | <a href="https://app.datadoghq.com/ci/pull-request/Z2l0aHViLmNvbS9kYXRhZG9nL2RhdGFkb2ctb3BlcmF0b3IvMzUwMw==?referrer=pr-comment">View more details</a> | Give us <a href="https://dd.enterprise.slack.com/archives/C07E3U2QRMM">feedback</a>!
</sub>
Mathew-Estafanous
tbavelier
What does this PR do?
This reverts commit 4b96dfee2ab2721e915a361e70de211de90001b1.
Motivation
Need to fix Autopilot tests first with https://github.com/DataDog/datadog-operator/pull/3457 for 1.31 backport
Additional Notes
Anything else we should know when reviewing?
Minimum Agent Versions
Are there minimum versions of the Datadog Agent and/or Cluster Agent required?
Agent: vX.Y.Z
Cluster Agent: vX.Y.Z
Describe your test plan
Write there any instructions and details you may have to test your PR.
Checklist
bug,enhancement,refactoring,documentation,tooling, and/ordependenciesqa/skip-qalabel[1]: https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits