Skip to content

Commit

Permalink
feat(RELEASE-911): add field to store collectors results
Browse files Browse the repository at this point in the history
This commit adds a new field to store collectors results
generated by the Collectors Pipeline.

Signed-off-by: David Moreno García <[email protected]>
  • Loading branch information
davidmogar committed Sep 30, 2024
1 parent c60de20 commit bdfb94b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
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 managed Release 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

0 comments on commit bdfb94b

Please sign in to comment.