domhanak opened a new issue, #2516:
URL: https://github.com/apache/incubator-kie-tools/issues/2516
**Goal**
Improve the error message when running `kn workflow deploy –namespace
apache-10 --custom-generated-manifests-dir ./` on a project that has YAML
workflow.
**Reason**
No cluster up and running on local, should be solved by our docs and
prerequisites
**Details**
```
- ✅ Manifest 01-sonataflow_hello.yaml successfully deployed in namespace
apache-10
error: unable to decode "workflow.sw.yaml": Object 'Kind' is missing in
'{"description":"Description","id":"hello","name":"Hello
World","specVersion":"0.8.0","start":"HelloWorld",
"states":[{"data":{"message":"Hello
World"},"end":true,"name":"HelloWorld","type":"inject"}],"version":"1.0"}'
has a errorError:
❌ ERROR: applying deploy: ❌ ERROR: failed to deploy manifest
workflow.sw.yaml,
❌ ERROR: failed to execute kubectl apply command for workflow.sw.yaml: exit
status 1
```
**Expected result**
A message stating there is no cluster running to where to deploy.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]