Confusing error when same volume name used twice #1402
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/bug
Categorizes issue or PR as related to a bug.
Expected Behavior
If you try to use a volume name in a Task that is either already being used internally by Tekton (e.g.
workspace
) or you have already specified it yourself (resulting in a pod that is invalid), you should get an informative and helpful error.Actual Behavior
Instead you get this cryptic error:
Steps to Reproduce the Problem
workspace
Additional Info
The error is coming from
pipeline/pkg/apis/pipeline/v1alpha1/task_validation.go
Line 107 in 7a0454b
pipeline/pkg/reconciler/taskrun/resources/pod.go
Line 300 in ef8a6b2
The text was updated successfully, but these errors were encountered: