diff --git a/pkg/apis/pipeline/register.go b/pkg/apis/pipeline/register.go index a95b23e72ac..47ea808174f 100644 --- a/pkg/apis/pipeline/register.go +++ b/pkg/apis/pipeline/register.go @@ -43,6 +43,9 @@ const ( // RunKey is used as the label identifier for a Run RunKey = GroupName + "/run" + // CustomRunKey is used as the label identifier for a CustomRun + CustomRunKey = GroupName + "/customRun" + // MemberOfLabelKey is used as the label identifier for a PipelineTask // Set to Tasks/Finally depending on the position of the PipelineTask MemberOfLabelKey = GroupName + "/memberOf" @@ -85,4 +88,10 @@ var ( Group: GroupName, Resource: "pipelineresources", } + + // CustomRunResource represents a Tekton CustomRun + CustomRunResource = schema.GroupResource{ + Group: GroupName, + Resource: "customruns", + } )