Description
Is your feature request related to a problem? Please describe
Currently, an error message looks as follows
Error: kubectl --kubeconfig /workspace/gitpod/kubeconfigs/core-dev wait --for=condition=Ready --timeout=600s -n certs certificate harvester-jenting-10334 exit with non-zero status code. STDERR: error: timed out waiting for the condition on certificates/harvester-jenting-10334
That is not helpful because it does not explain why no cert could be obtained.
Describe the behaviour you'd like
The error message should instead be the output of the comment cmctl status certificate <certname>
.
This command summarises all Custom Resources that are involved in obtaining the certs.
This includes error events and status.
The error message should be clearly readable both in Werft and in HoneyComb.
Describe alternatives you've considered
We could debug into each job, understand the error better and fix the error - but I think it's more sustainable if we start by improving the error message first because it will give us more data on the problem and relieves us from the need to denug every job individually.