[Backport v1.28] [CONTP-1715] Align Operator to Helm csi daemonset and include csidrivers RBAC for DCA#3132
Conversation
…ers RBAC for DCA (#3093) * Align with Helm Daemonset: volumes, deprecated registry, APM annotation * Add spec.apm.enabled field to condition the CSIDriver annotation and daemonset env var * Add list/watch/get for csidrivers to DCA clusterrole for admission controller (cherry picked from commit f36836a)
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6c667f9331
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## v1.28 #3132 +/- ##
==========================================
+ Coverage 43.31% 43.35% +0.04%
==========================================
Files 352 352
Lines 30049 30071 +22
==========================================
+ Hits 13015 13037 +22
Misses 16161 16161
Partials 873 873
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
|
🎯 Code Coverage (details) 🔗 Commit SHA: 6c667f9 | Docs | Datadog PR Page | Give us feedback! |
Backport f36836a from #3093.
What does this PR do?
spec.apm.enabledfield in theDatadogCSIDriverCRD that defaults totrueand governs the daemonset env varDD_APM_ENABLEDas well as the annotation on theCSIDriver: feat(datadog-csi-driver): annotate CSIDriver with apm-enabled helm-charts#2685k8s.gcr.ioregistry which re-directs under the hood toregistry.k8s.io: this is needed as this is the entry in the GKE Autopilot allowlistMotivation
What inspired you to submit this pull request?
Additional Notes
Easier to review commit by commit:
Minimum Agent Versions
Are there minimum versions of the Datadog Agent and/or Cluster Agent required?
Describe your test plan
Manually QA'ed and will be tested with a follow-up PR
Checklist
bug,enhancement,refactoring,documentation,tooling, and/ordependenciesqa/skip-qalabel