From 506fd726d2b3137a55314808356c4ebebdd64f98 Mon Sep 17 00:00:00 2001 From: encalada Date: Tue, 17 Oct 2023 19:38:51 +0200 Subject: [PATCH] buildrun types.go --- pkg/apis/build/v1beta1/buildrun_types.go | 6 ++++++ 1 file changed, 6 insertions(+) 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