apache / incubator-kie-issues

Apache License 2.0
11 stars 1 forks source link

kn workflow should verify if the cluster has Knative installed #1337

Open treblereel opened 1 week ago

treblereel commented 1 week ago

If you try to run kn workflow deploy in a cluster without Knative installed, the user might face a weird message from the Kube API complaining about the lack of the KService CRD.

It would be nice if this command checks for a Knative installation before attempting to deploy the application.

jira: https://issues.redhat.com/browse/KOGITO-7665

ricardozanini commented 6 days ago

Now I see that this imported issue might be confusing. It should be:

If you try to run kn workflow deploy in a cluster without SonataFlow installed, the user might face a weird message from the Kube API complaining about the lack of the CRDs. It would be nice if this command checks for a SonataFlow installation before attempting to deploy the application.

Also, can you try your PR in an actual cluster without the operator installed so we can get the real message and document in this issue?