diff --git a/pkg/apis/build/v1beta1/buildrun_types.go b/pkg/apis/build/v1beta1/buildrun_types.go index af06728f7e..c4e9b05781 100644 --- a/pkg/apis/build/v1beta1/buildrun_types.go +++ b/pkg/apis/build/v1beta1/buildrun_types.go @@ -39,6 +39,12 @@ type BuildRunSpec struct { // +optional Build *ReferencedBuild `json:"build,omitempty"` + // Source refers to the location where the source code is, + // this could only be a local source + // + // +optional + Sources BuildRunSource `json:"source,omitempty"` + // ServiceAccount refers to the kubernetes serviceaccount // which is used for resource control. // Default serviceaccount will be set if it is empty