feat(dashboard): add DatadogDashboard v1alpha2 CRD with native YAML widgets#2430
Open
starlightromero wants to merge 1 commit intoDataDog:mainfrom
Open
Conversation
…idgets - Add v1alpha2 API types with DashboardWidget and WidgetLayout structs - Replace JSON string widgets with native YAML array syntax - Implement comprehensive validation with detailed error messages - Add version-aware widget processors for v1alpha1 and v1alpha2 - Update controller to handle both API versions seamlessly - Generate CRDs with proper OpenAPI v3 schema validation - Add comprehensive test coverage including property-based tests - Update documentation and examples showing YAML array benefits Closes: DataDog#2423
04ed956 to
cfe427e
Compare
rtrieu
approved these changes
Dec 26, 2025
Author
|
@rtrieu Thanks for the approval. Any chance you can provide an ETA on when this can be merged in? |
Contributor
|
hi @starlightromero my approval was from an editorial perspective. this update as a whole will need to be reviewed and approved by a different team (Container Ecosystems) before merging. |
Author
|
@rtrieu thank you providing insight into the process. What is the estimated timeline for review by the Container Ecosystems team? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements DatadogDashboard v1alpha2 CRD with native YAML widgets, replacing JSON string format with structured YAML arrays for improved developer experience.
Changes
DashboardWidgetandWidgetLayoutstructs with native YAML supportBenefits
Testing
Migration
Users can migrate from v1alpha1 to v1alpha2 by:
apiVersiontodatadoghq.com/v1alpha2Closes
Fixes #2423
Example
Before (v1alpha1):
After (v1alpha2):