Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a1adbe6a4d
ℹ️ 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".
| DDAFile: ddaFile, | ||
| DAPFiles: dapFiles, | ||
| SupportCilium: supportCilium, | ||
| ProfileEnabled: len(dapFiles) > 0, |
There was a problem hiding this comment.
Enable profile mode independently from --dap inputs
ProfileEnabled is currently tied to len(dapFiles) > 0, which means the renderer cannot reproduce clusters where DatadogAgentProfileEnabled is on but no DatadogAgentProfile resources exist. In the real reconciler, that flag still triggers profile reconciliation and applies the default profile path (which adjusts node-agent scheduling overrides), so this shortcut yields different manifests for profile-enabled deployments and can produce incorrect golden baselines even when users intentionally render with zero DAP files.
Useful? React with 👍 / 👎.
Codecov Report❌ Patch coverage is ❌ Your patch status has failed because the patch coverage (0.00%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #2947 +/- ##
==========================================
- Coverage 40.91% 40.52% -0.39%
==========================================
Files 324 329 +5
Lines 28743 29016 +273
==========================================
Hits 11760 11760
- Misses 16129 16402 +273
Partials 854 854
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
🛑 Gate Violations
ℹ️ Info🎯 Code Coverage (details) Useful? React with 👍 / 👎 This comment will be updated automatically if new data arrives.🔗 Commit SHA: a1adbe6 | Docs | Datadog PR Page | Give us feedback! |
What does this PR do?
Offline renderer to generate k8s manifests from DDA, DAP custom resources without running a cluster.
Motivation
What inspired you to submit this pull request?
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?
Describe your test plan
see the README.md in the diff.
Checklist
bug,enhancement,refactoring,documentation,tooling, and/ordependenciesqa/skip-qalabel