Skip to content

[Backport v1.28] [CONTP-1702] Support CSI mode in GKE Autopilot#3133

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
v1.28from
backport-3094-to-v1.28
Jun 12, 2026
Merged

[Backport v1.28] [CONTP-1702] Support CSI mode in GKE Autopilot#3133
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
v1.28from
backport-3094-to-v1.28

Conversation

@dd-octo-sts

@dd-octo-sts dd-octo-sts Bot commented Jun 12, 2026

Copy link
Copy Markdown

Backport 3b09cf8 from #3094.


What does this PR do?

  • Supports CSI in GKE Autopilot by creating the allowlist synchronizer when enabled on a DDA with GKE Autopilot annotation experimental.agent.datadoghq.com/autopilot: "true"

Motivation

What inspired you to submit this pull request?

Additional Notes

Cherry-picked changes from #3093 , only change for now is f2aa75a which includes allowlistsynchronizer

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

  • On a GKE Autopilot cluster, enable csidrivers (if not already enabled), have global.csi.enabled=true in your DatadogAgent (with GKE Autopilot annotation experimental.agent.datadoghq.com/autopilot: "true"): and verify the allowlistsynchronizer is created, the ddcsi custom resource is reconciled properly, so the daemonset should be created

Checklist

  • PR has at least one valid label: bug, enhancement, refactoring, documentation, tooling, and/or dependencies
  • PR has a milestone or the qa/skip-qa label
  • All commits are signed (see: signing commits)

* Add GKE Autopilot allowlist for Datadog CSI driver

* Align with Helm Daemonset: volumes, deprecated registry, APM annotation

* Add spec.apm.enabled field to condition the CSIDriver annotation and daemonset env var

(cherry picked from commit 3b09cf8)
@dd-octo-sts dd-octo-sts Bot added enhancement New feature or request backport label added by backport action bot label added by backport bot team/container-platform labels Jun 12, 2026
@dd-octo-sts
dd-octo-sts Bot requested a review from a team as a code owner June 12, 2026 15:03
@dd-octo-sts dd-octo-sts Bot added enhancement New feature or request backport label added by backport action bot label added by backport bot team/container-platform labels Jun 12, 2026
@dd-octo-sts dd-octo-sts Bot added this to the v1.28.0 milestone Jun 12, 2026
@codecov-commenter

codecov-commenter commented Jun 12, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 66.66667% with 14 lines in your changes missing coverage. Please review.
✅ Project coverage is 43.37%. Comparing base (762837d) to head (bf724db).

Files with missing lines Patch % Lines
.../controller/datadogagent/experimental/autopilot.go 0.00% 7 Missing ⚠️
pkg/allowlistsynchronizer/allowlistsynchronizer.go 78.78% 7 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##            v1.28    #3133      +/-   ##
==========================================
+ Coverage   43.35%   43.37%   +0.02%     
==========================================
  Files         352      352              
  Lines       30071    30105      +34     
==========================================
+ Hits        13037    13059      +22     
- Misses      16161    16173      +12     
  Partials      873      873              
Flag Coverage Δ
unittests 43.37% <66.66%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
internal/controller/datadogagent/ddcsi.go 82.52% <100.00%> (+0.34%) ⬆️
.../controller/datadogagent/experimental/autopilot.go 57.66% <0.00%> (-3.11%) ⬇️
pkg/allowlistsynchronizer/allowlistsynchronizer.go 73.56% <78.78%> (+2.59%) ⬆️

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 762837d...bf724db. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@datadog-datadog-prod-us1-2

This comment has been minimized.

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

Labels

backport label added by backport action bot label added by backport bot enhancement New feature or request mergequeue-status: done team/container-platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants