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 tektoncd#494 should have caught this earlier.
  • Loading branch information
dibyom committed Dec 8, 2021
1 parent aa30266 commit ee951ec
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 ee951ec

Please sign in to comment.