diff --git a/api/v1alpha1/release_types.go b/api/v1alpha1/release_types.go index 60f83c71..d5a28c45 100644 --- a/api/v1alpha1/release_types.go +++ b/api/v1alpha1/release_types.go @@ -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"` diff --git a/api/v1alpha1/zz_generated.deepcopy.go b/api/v1alpha1/zz_generated.deepcopy.go index ec2bbd57..c9026cc0 100644 --- a/api/v1alpha1/zz_generated.deepcopy.go +++ b/api/v1alpha1/zz_generated.deepcopy.go @@ -544,6 +544,11 @@ func (in *ReleaseStatus) DeepCopyInto(out *ReleaseStatus) { (*in).DeepCopyInto(*out) } out.Attribution = in.Attribution + if in.Collectors != nil { + in, out := &in.Collectors, &out.Collectors + *out = new(runtime.RawExtension) + (*in).DeepCopyInto(*out) + } if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make([]v1.Condition, len(*in)) diff --git a/config/crd/bases/appstudio.redhat.com_releases.yaml b/config/crd/bases/appstudio.redhat.com_releases.yaml index 4aa36bc5..865f041b 100644 --- a/config/crd/bases/appstudio.redhat.com_releases.yaml +++ b/config/crd/bases/appstudio.redhat.com_releases.yaml @@ -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