Skip to content
Open
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
8 changes: 7 additions & 1 deletion api/v1/clusterextension_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,8 @@ type RevisionStatus struct {

// ClusterExtensionStatus defines the observed state of a ClusterExtension.
type ClusterExtensionStatus struct {
// conditions represents the current state of the ClusterExtension.
//
// The set of condition types which apply to all spec.source variations are Installed and Progressing.
//
// The Installed condition represents whether the bundle has been installed for this ClusterExtension:
Expand Down Expand Up @@ -536,7 +538,11 @@ type ClusterExtensionInstallStatus struct {

// ClusterExtension is the Schema for the clusterextensions API
type ClusterExtension struct {
metav1.TypeMeta `json:",inline"`
metav1.TypeMeta `json:",inline"`

// metadata is the standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metav1.ObjectMeta `json:"metadata,omitempty"`

// spec is an optional field that defines the desired state of the ClusterExtension.
Expand Down
6 changes: 5 additions & 1 deletion api/v1/clusterextensionrevision_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,11 @@ type ClusterExtensionRevisionStatus struct {
// or reconfigured. Once the latest revision has rolled out successfully, previous active revisions are archived for
// posterity.
type ClusterExtensionRevision struct {
metav1.TypeMeta `json:",inline"`
metav1.TypeMeta `json:",inline"`

// metadata is the standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metav1.ObjectMeta `json:"metadata,omitempty"`

// spec defines the desired state of the ClusterExtensionRevision.
Expand Down
2 changes: 1 addition & 1 deletion docs/api-reference/olmv1-api-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ _Appears in:_

| Field | Description | Default | Validation |
| --- | --- | --- | --- |
| `conditions` _[Condition](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.31/#condition-v1-meta) array_ | The set of condition types which apply to all spec.source variations are Installed and Progressing.<br />The Installed condition represents whether the bundle has been installed for this ClusterExtension:<br /> - When Installed is True and the Reason is Succeeded, the bundle has been successfully installed.<br /> - When Installed is False and the Reason is Failed, the bundle has failed to install.<br />The Progressing condition represents whether or not the ClusterExtension is advancing towards a new state.<br />When Progressing is True and the Reason is Succeeded, the ClusterExtension is making progress towards a new state.<br />When Progressing is True and the Reason is Retrying, the ClusterExtension has encountered an error that could be resolved on subsequent reconciliation attempts.<br />When Progressing is False and the Reason is Blocked, the ClusterExtension has encountered an error that requires manual intervention for recovery.<br /><opcon:experimental:description><br />When Progressing is True and Reason is RollingOut, the ClusterExtension has one or more ClusterExtensionRevisions in active roll out.<br /></opcon:experimental:description><br />When the ClusterExtension is sourced from a catalog, it may also communicate a deprecation condition.<br />These are indications from a package owner to guide users away from a particular package, channel, or bundle:<br /> - BundleDeprecated is set if the requested bundle version is marked deprecated in the catalog.<br /> - ChannelDeprecated is set if the requested channel is marked deprecated in the catalog.<br /> - PackageDeprecated is set if the requested package is marked deprecated in the catalog.<br /> - Deprecated is a rollup condition that is present when any of the deprecated conditions are present. | | |
| `conditions` _[Condition](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.31/#condition-v1-meta) array_ | conditions represents the current state of the ClusterExtension.<br />The set of condition types which apply to all spec.source variations are Installed and Progressing.<br />The Installed condition represents whether the bundle has been installed for this ClusterExtension:<br /> - When Installed is True and the Reason is Succeeded, the bundle has been successfully installed.<br /> - When Installed is False and the Reason is Failed, the bundle has failed to install.<br />The Progressing condition represents whether or not the ClusterExtension is advancing towards a new state.<br />When Progressing is True and the Reason is Succeeded, the ClusterExtension is making progress towards a new state.<br />When Progressing is True and the Reason is Retrying, the ClusterExtension has encountered an error that could be resolved on subsequent reconciliation attempts.<br />When Progressing is False and the Reason is Blocked, the ClusterExtension has encountered an error that requires manual intervention for recovery.<br /><opcon:experimental:description><br />When Progressing is True and Reason is RollingOut, the ClusterExtension has one or more ClusterExtensionRevisions in active roll out.<br /></opcon:experimental:description><br />When the ClusterExtension is sourced from a catalog, it may also communicate a deprecation condition.<br />These are indications from a package owner to guide users away from a particular package, channel, or bundle:<br /> - BundleDeprecated is set if the requested bundle version is marked deprecated in the catalog.<br /> - ChannelDeprecated is set if the requested channel is marked deprecated in the catalog.<br /> - PackageDeprecated is set if the requested package is marked deprecated in the catalog.<br /> - Deprecated is a rollup condition that is present when any of the deprecated conditions are present. | | |
| `install` _[ClusterExtensionInstallStatus](#clusterextensioninstallstatus)_ | install is a representation of the current installation status for this ClusterExtension. | | |
| `activeRevisions` _[RevisionStatus](#revisionstatus) array_ | activeRevisions holds a list of currently active (non-archived) ClusterExtensionRevisions,<br />including both installed and rolling out revisions.<br /><opcon:experimental> | | |

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,8 @@ spec:
x-kubernetes-list-type: map
conditions:
description: |-
conditions represents the current state of the ClusterExtension.

The set of condition types which apply to all spec.source variations are Installed and Progressing.

The Installed condition represents whether the bundle has been installed for this ClusterExtension:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,8 @@ spec:
properties:
conditions:
description: |-
conditions represents the current state of the ClusterExtension.

The set of condition types which apply to all spec.source variations are Installed and Progressing.

The Installed condition represents whether the bundle has been installed for this ClusterExtension:
Expand Down
2 changes: 2 additions & 0 deletions manifests/experimental-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1461,6 +1461,8 @@ spec:
x-kubernetes-list-type: map
conditions:
description: |-
conditions represents the current state of the ClusterExtension.

The set of condition types which apply to all spec.source variations are Installed and Progressing.

The Installed condition represents whether the bundle has been installed for this ClusterExtension:
Expand Down
2 changes: 2 additions & 0 deletions manifests/experimental.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1422,6 +1422,8 @@ spec:
x-kubernetes-list-type: map
conditions:
description: |-
conditions represents the current state of the ClusterExtension.

The set of condition types which apply to all spec.source variations are Installed and Progressing.

The Installed condition represents whether the bundle has been installed for this ClusterExtension:
Expand Down
2 changes: 2 additions & 0 deletions manifests/standard-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1066,6 +1066,8 @@ spec:
properties:
conditions:
description: |-
conditions represents the current state of the ClusterExtension.

The set of condition types which apply to all spec.source variations are Installed and Progressing.

The Installed condition represents whether the bundle has been installed for this ClusterExtension:
Expand Down
2 changes: 2 additions & 0 deletions manifests/standard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1027,6 +1027,8 @@ spec:
properties:
conditions:
description: |-
conditions represents the current state of the ClusterExtension.

The set of condition types which apply to all spec.source variations are Installed and Progressing.

The Installed condition represents whether the bundle has been installed for this ClusterExtension:
Expand Down
Loading