-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: resource name may not be empty #1096
Comments
@abergmeier thx for the issue. Can you attach the task definition used for the taskrun ? There was some validation problems on the example, that are fixed by #1081 |
/kind question |
There you go:
|
If there is something wrong with the CRD, I cannot for the life of me figure it out :( |
So I now boiled this down to:
And still get the same error. So either the example is wrong, or this is not a question but a bug IMO. |
I was curious and just manually ran that yaml you posted in the most recent comment and I don't think I got an error. Are you seeing
when describing the taskrun? |
The problem is probably related to some special handling in OpenShift. |
Expected Behavior
It should work
Actual Behavior
Complains in log:
Steps to Reproduce the Problem
TaskRun
Additional Info
Seems to be similar to https://github.com/tektoncd/pipeline/blob/master/examples/taskruns/private-taskrun.yaml. By now I am worried whether it is ensured, that all examples actually work.
It might be related to #685.
Although this is a
TaskRun
that was created before - and has never been successfully run yet.Even removing the
TaskRun
and creating anew (with different name) leads to the same problem.The text was updated successfully, but these errors were encountered: