From 259cf76ec137d9c3540c6cdcab567bea8dda5339 Mon Sep 17 00:00:00 2001 From: Vincent Demeester Date: Thu, 6 Feb 2020 11:44:54 +0100 Subject: [PATCH] =?UTF-8?q?Add=20LimitRangeName=20to=20v1alpha2.PipelineRu?= =?UTF-8?q?n=20=F0=9F=8C=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It got added to `v1alpha1.PipelineRun` at the same time `v1alpha2.PipelineRun` was created, so I missed it. Signed-off-by: Vincent Demeester --- pkg/apis/pipeline/v1alpha2/pipelinerun_types.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkg/apis/pipeline/v1alpha2/pipelinerun_types.go b/pkg/apis/pipeline/v1alpha2/pipelinerun_types.go index d5790b9f203..8afb5267ffc 100644 --- a/pkg/apis/pipeline/v1alpha2/pipelinerun_types.go +++ b/pkg/apis/pipeline/v1alpha2/pipelinerun_types.go @@ -155,6 +155,12 @@ type PipelineRunSpec struct { // with those declared in the pipeline. // +optional Workspaces []WorkspaceBinding `json:"workspaces,omitempty"` + // Used to specify name of LimitRange that exists in namespace + // where PipelineRun will run so that the LimitRange's minimum for + // container requests can be used by containers of TaskRuns associated + // with PipelineRun + // +optional + LimitRangeName string `json:"limitRangeName"` } // PipelineRunSpecStatus defines the pipelinerun spec status the user can provide