diff --git a/api/v1alpha1/component_types.go b/api/v1alpha1/component_types.go index 982a5a4..af1ce06 100644 --- a/api/v1alpha1/component_types.go +++ b/api/v1alpha1/component_types.go @@ -165,6 +165,10 @@ type ComponentStatus struct { // Example: 41fbdb124775323f58fd5ce93c70bb7d79c20650. LastBuiltCommit string `json:"lastBuiltCommit,omitempty"` + // The last digest image component promoted with. + // Example: quay.io/someorg/somerepository@sha256:5ca85b7f7b9da18a9c4101e81ee1d9bac35ac2b0b0221908ff7389204660a262. + LastPromotedImage string `json:"lastPromotedImage,omitempty"` + // The list of names of Components whose builds nudge this resource (their spec.build-nudges-ref[] references this component) BuildNudgedBy []string `json:"build-nudged-by,omitempty"` } diff --git a/config/crd/bases/appstudio.redhat.com_components.yaml b/config/crd/bases/appstudio.redhat.com_components.yaml index 5b42752..3b60dd6 100644 --- a/config/crd/bases/appstudio.redhat.com_components.yaml +++ b/config/crd/bases/appstudio.redhat.com_components.yaml @@ -381,6 +381,10 @@ spec: description: 'The last built commit id (SHA-1 checksum) from the latest component build. Example: 41fbdb124775323f58fd5ce93c70bb7d79c20650.' type: string + lastPromotedImage: + description: 'The last digest image component promoted with. Example: + quay.io/someorg/somerepository@sha256:5ca85b7f7b9da18a9c4101e81ee1d9bac35ac2b0b0221908ff7389204660a262.' + type: string webhook: description: Webhook URL generated by Builds type: string diff --git a/manifests/application-api-customresourcedefinitions.yaml b/manifests/application-api-customresourcedefinitions.yaml index ec67f78..e6f9a5e 100644 --- a/manifests/application-api-customresourcedefinitions.yaml +++ b/manifests/application-api-customresourcedefinitions.yaml @@ -1018,6 +1018,10 @@ spec: description: 'The last built commit id (SHA-1 checksum) from the latest component build. Example: 41fbdb124775323f58fd5ce93c70bb7d79c20650.' type: string + lastPromotedImage: + description: 'The last digest image component promoted with. Example: + quay.io/someorg/somerepository@sha256:5ca85b7f7b9da18a9c4101e81ee1d9bac35ac2b0b0221908ff7389204660a262.' + type: string webhook: description: Webhook URL generated by Builds type: string