operator icon indicating copy to clipboard operation
operator copied to clipboard

[BUG] Operator reports "Ready: True" when TektonConfig reports "Error"

Open adambkaplan opened this issue 1 year ago • 3 comments

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

  1. Deploy OLM on Kubernetes 1.25 or higher (ex - with KinD)
  2. Deploy the Shipwright Operator using the operatorhub.io catalog - ensure it uses Tekton Operator v0.61 or lower
  3. 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.

adambkaplan avatar Oct 31 '23 17:10 adambkaplan