Skip to content

Commit

Permalink
Allow creating v1alpha1 Run types
Browse files Browse the repository at this point in the history
This seems like an unintentional omission since we do allow creating
TriggerTemplates with the Run kind.

Addressing #494 should have caught this earlier.
  • Loading branch information
dibyom authored and tekton-robot committed Dec 14, 2021
1 parent d9b14bf commit 0ec6afc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/client/dynamic/clientset/tekton/tekton.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

var (
allowedPipelineTypes = map[string][]string{
"v1alpha1": {"pipelineresources", "pipelineruns", "taskruns", "pipelines", "clustertasks", "tasks", "conditions"},
"v1alpha1": {"pipelineresources", "pipelineruns", "taskruns", "pipelines", "clustertasks", "tasks", "conditions", "runs"},
"v1beta1": {"pipelineruns", "taskruns", "pipelines", "clustertasks", "tasks"},
}
allowedTriggersTypes = map[string][]string{
Expand Down

0 comments on commit 0ec6afc

Please sign in to comment.