Today the command "kogito install operator" or any other command that relies on installing the operator only checks if the operator is deployed in the given namespace.
To increase user experience, the CLI could query the OperatorHub to search for the Kogito in the catalog. If found, don't install the operator and suggests to the user that they should install it via the catalog instead:
1. Verify if the operator is installed
2. Query the cluster for the OperatorHub catalog
3. Query for the Kogito Operator CSV
4. Create a doc explaining how to install the Operator via the catalog and display its url in the message
- is blocked by
-
KOGITO-67 Add Kogito Operator to OperatorHub.io
- Resolved
- is related to
-
KOGITO-568 Kogito CLI to display a WARN instead of an ERROR when operator is available in OperatorHub
- Closed
- relates to
-
KOGITO-169 Add possibility to install Kogito Operator into namespace in Kogito CLI
- Resolved
-
KOGITO-492 CLI: Provide option to force operator installation even if present in OperatorHub
- Resolved