operator-controller icon indicating copy to clipboard operation
operator-controller copied to clipboard

Install error message getting propagated to most conditions

Open perdasilva opened this issue 5 months ago • 2 comments

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"
}

perdasilva avatar Jun 04 '25 08:06 perdasilva