Skip to content

Commit

Permalink
Register informers for v1 TaskRun and PipelineRun
Browse files Browse the repository at this point in the history
This commit registers the v1 types so knative can generate informers for them.
  • Loading branch information
lbernick authored and tekton-robot committed Jan 5, 2023
1 parent d5a98a6 commit 8587b7b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pkg/apis/pipeline/v1/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,11 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&TaskList{},
&Pipeline{},
&PipelineList{},
) // TODO(#4983): v1 types go here

&TaskRun{},
&TaskRunList{},
&PipelineRun{},
&PipelineRunList{},
)
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil
}

0 comments on commit 8587b7b

Please sign in to comment.