Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(RELEASE-911): add field to store collectors results #577

Merged
merged 1 commit into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions api/v1alpha1/release_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ type ReleaseStatus struct {
// +optional
Attribution AttributionInfo `json:"attribution,omitempty"`

// Collectors is an unstructured key used for storing all the collectors results generated by the Collectors Pipeline
// +kubebuilder:pruning:PreserveUnknownFields
// +optional
Collectors *runtime.RawExtension `json:"collectors,omitempty"`

// Conditions represent the latest available observations for the release
// +optional
Conditions []metav1.Condition `json:"conditions"`
Expand Down
5 changes: 5 additions & 0 deletions api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions config/crd/bases/appstudio.redhat.com_releases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ spec:
description: Automated indicates whether the Release was created as
part of an automated process or manually by an end-user
type: boolean
collectors:
description: Collectors is an unstructured key used for storing all
the collectors results generated by the Collectors Pipeline
type: object
x-kubernetes-preserve-unknown-fields: true
completionTime:
description: CompletionTime is the time when a Release was completed
format: date-time
Expand Down
Loading