Skip to content

[CXP-3978][operator] Mount host passwd at /host/etc/passwd on GKE Autopilot - #3766

Draft
gengnamstyle wants to merge 4 commits into
matthew.geng/CXP-3978-operator-host-passwd-mountsfrom
matthew.geng/CXP-3978-operator-autopilot-host-passwd
Draft

gengnamstyle wants to merge 4 commits into
matthew.geng/CXP-3978-operator-host-passwd-mountsfrom
matthew.geng/CXP-3978-operator-autopilot-host-passwd

Conversation

@gengnamstyle

Copy link
Copy Markdown

Follow-up to #3645 (base branch). Depends on #3645 and on Google publishing WorkloadAllowlist v1.0.8 (ddoghq/datadog-gke-workload-allowlist#29); keep in draft until v1.0.8 is published.

Changes

  • GKE Autopilot: Agent 7.86.0+ mounts host passwd read-only at /host/etc/passwd from a host-passwd volume, because Warden matches allowlisted volumeMounts by name. Other clusters keep [CXP-3978] Migrate Operator process passwd mount + mount /etc/os-release by default #3645's behavior (reuse passwd).
  • Default the WorkloadAllowlist to v1.0.8 while still syncing v1.0.7 during rollout. Pinning an older allowlist with experimental.agent.datadoghq.com/autopilot-allowlist-version keeps /etc/passwd.
  • Talos strips host-passwd.
  • Tests: unit and integration Autopilot cases (7.86/RC, 7.85, v1.0.7 pin, malformed pin), synchronizer path tests, and an Autopilot e2e step that checks the host-passwd mount on a 7.86 Agent from the pod spec (no exec). The e2e allowlist step now accepts two synced allowlists.

Notes

  • The Autopilot e2e will fail until v1.0.8 is published (the synchronizer cannot become Ready).
  • Admission was validated live on Autopilot against v1.0.8: 7.86.0-rc.2 admitted with host-passwd at /host/etc/passwd, and a v1.0.7 pin kept /etc/passwd (commands in Correct symlink in helm chart broken due to CRD rename #29).

🤖 Generated with Claude Code

@datadog-datadog-prod-us1

This comment has been minimized.

On GKE Autopilot, Agent 7.86.0+ mounts host passwd at /host/etc/passwd from a
host-passwd volume (Warden matches allowlisted mounts by name). Default the
WorkloadAllowlist to v1.0.8 while still syncing v1.0.7, and keep /etc/passwd
when an older allowlist is pinned.

Environment: Datadog workspace

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gengnamstyle and others added 3 commits November 11, 2026 20:40
os-release now comes from the default node Agent volumes, so drop it from the
Talos strip lists; keep host-passwd and the Autopilot pin handling.

Environment: Datadog workspace

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… matthew.geng/CXP-3978-operator-autopilot-host-passwd
… matthew.geng/CXP-3978-operator-autopilot-host-passwd

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant