Skip to content

Commit 9c29ee5

Browse files
author
Oleg Sucharevich
committed
allow passing flag to create re with steps as pods property
1 parent a45f37a commit 9c29ee5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.11.0
1+
0.12.0

pkg/codefresh/runtime_enrionment.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ type (
7272
Namespace string
7373
HasAgent bool
7474
StorageClass string
75+
StepsAsPods bool
7576
}
7677

7778
ValidateRuntimeOptions struct {
@@ -108,6 +109,7 @@ func (r *runtimeEnvironment) Create(opt *CreateRuntimeOptions) (*RuntimeEnvironm
108109
"clusterName": opt.Cluster,
109110
"namespace": opt.Namespace,
110111
"storageClassName": opt.StorageClass,
112+
"stepsAsPods": opt.StepsAsPods,
111113
}
112114
if opt.HasAgent {
113115
body["agent"] = true

0 commit comments

Comments
 (0)