operator
operator copied to clipboard
[BUG] Operator reports "Ready: True" when TektonConfig reports "Error"
Is there an existing issue for this?
- [X] I have searched the existing issues
Kubernetes Version
v1.25 or higher
Shipwright Version
v0.12.0 (and earlier)
Current Behavior
When the TektonConfig object (existing, or created by the Shipwright operator) reports its status as Error/not available, the ShipwrightBuild object only reports its status condition as "Ready: True".
Expected Behavior
ShipwrightBuild
should either report a status condition of "Ready: False", or report a new status condition like "Available" which is used to convey the overall health of the system.
Steps To Reproduce
- Deploy OLM on Kubernetes 1.25 or higher (ex - with KinD)
- Deploy the Shipwright Operator using the operatorhub.io catalog - ensure it uses Tekton Operator v0.61 or lower
- Create a
ShipwrightBuild
instance
Anything else?
Related to https://github.com/tektoncd/operator/issues/1493 - the Tekton Operator in operatorhub is currently obsolete and breaks on k8s 1.25 or higher.