operator-controller
operator-controller copied to clipboard
Install error message getting propagated to most conditions
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"
}