Skip to content

[v1 API Review] Update Installed Status condition usage #1291

@everettraven

Description

@everettraven

The Installed status condition represents whether or not a bundle is installed. It should be set to True once the initial installation is successful. If it was set to True, it should transition to False, or be removed, ONLY IF all workloads associated with the ClusterExtension have been removed from the cluster. When unset, this condition should be interpreted the same as "False". Successful upgrades should update this condition and other status fields with the appropriate values to reflect the state of the currently installed bundle.

Acceptance Criteria:

  • The logic for setting the Installed status condition is updated to:
    • Set the Installed status condition to True and status.install.bundle field with installed bundle information after initial installation is successful
    • Update the Installed status condition and status.install.bundle field to reflect the currently installed bundle information after a successful upgrade
    • Set the Installed status condition to False if there are any failures encountered during the initial installation attempt
    • Only transition from True to False if all workloads associated with the ClusterExtension have been removed from the cluster (having not looked into it further, this may mean we never perform this transition)

For more information, see the RFC

Metadata

Metadata

Assignees

Labels

epic/v1-apiv1.0Issues related to the initial stable release of OLMv1

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions