Provide decent error message when the operator is missing cluster permissions #15345
Labels
area/che-operator
Issues and PRs related to Eclipse Che Kubernetes Operator
kind/enhancement
A feature request - must adhere to the feature request template.
severity/P1
Has a major impact to usage or development of the system.
Milestone
Is your enhancement related to a problem? Please describe.
The problem is that, in some tricky use-cases, a deployed Che operator might miss the cluster role bindings that are required for Openshift OAuth integration to work correctly.
In such a case, the operator simply does nothng and doesn't react correctly to custom resources, but without issuing any error message either in the logs or on the
CheCluster
custom resource.Describe the solution you'd like
Such abnormal situations hsould be detected by the operator when reconciling a custom resource, and an appropriate error message + possible link to troubleshooting docs should be added in the custom resource status.
Additional context
https://issues.jboss.org/browse/CRW-505?focusedCommentId=13816159&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-13816159
The text was updated successfully, but these errors were encountered: