Skip to content

Install error message getting propagated to most conditions #2008

@perdasilva

Description

@perdasilva

In cases where the extension cannot be installed, the error message is getting added to most conditions. We should probably not propagate the error message to the deprecation conditions. For example:

{
    "lastTransitionTime": "2025-06-03T07:51:05Z",
    "message": "validating bundle \"devspacesoperator.v3.21.0\": bundle \"devspacesoperator.v3.21.0\" has a dependency declared via property \"olm.package.required\" which is currently not supported",
    "observedGeneration": 1,
    "reason": "Retrying",
    "status": "True",
    "type": "Progressing"
},
{
    "lastTransitionTime": "2025-06-03T07:51:05Z",
    "message": "No bundle installed",
    "observedGeneration": 1,
    "reason": "Failed",
    "status": "False",
    "type": "Installed"
},
{
    "lastTransitionTime": "2025-06-03T07:51:05Z",
    "message": "validating bundle \"devspacesoperator.v3.21.0\": bundle \"devspacesoperator.v3.21.0\" has a dependency declared via property \"olm.package.required\" which is currently not supported",
    "observedGeneration": 1,
    "reason": "Failed",
    "status": "False",
    "type": "Deprecated"
},
{
    "lastTransitionTime": "2025-06-03T07:51:05Z",
    "message": "validating bundle \"devspacesoperator.v3.21.0\": bundle \"devspacesoperator.v3.21.0\" has a dependency declared via property \"olm.package.required\" which is currently not supported",
    "observedGeneration": 1,
    "reason": "Failed",
    "status": "False",
    "type": "PackageDeprecated"
},
{
    "lastTransitionTime": "2025-06-03T07:51:05Z",
    "message": "validating bundle \"devspacesoperator.v3.21.0\": bundle \"devspacesoperator.v3.21.0\" has a dependency declared via property \"olm.package.required\" which is currently not supported",
    "observedGeneration": 1,
    "reason": "Failed",
    "status": "False",
    "type": "ChannelDeprecated"
},
{
    "lastTransitionTime": "2025-06-03T07:51:05Z",
    "message": "validating bundle \"devspacesoperator.v3.21.0\": bundle \"devspacesoperator.v3.21.0\" has a dependency declared via property \"olm.package.required\" which is currently not supported",
    "observedGeneration": 1,
    "reason": "Failed",
    "status": "False",
    "type": "BundleDeprecated"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions