Details
-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
False
-
None
-
False
Description
Story (Required)
As a platform admin trying to monitor the status of OpenShift Pipelines, I need a metric that reflects the status of the TektonConfig
Once we have this metric, we can set an alert in Prometheus and be notified when the TektonConfig has been stuck in `ready==false` status for a long period of time.
Background (Required)
On DevSandbox (prod), there was an issue which happened when a user would delete the `pipelines-scc-rolebinding` rolebinding in their namespace, resulting in Tekton not being able to process other namespaces in the cluster. As a consequence, new users would not be able to use OpenShift Pipelines at all.
We only realized this issue after a user complained that he was not able to use Pipelines.
Acceptance Criteria (Mandatory)
There should be a boolean metric (`0` or `1`) reflecting the status of Tekton in the tekton operator metrics