Skip to content

Commit ef29739

Browse files
author
Oleg Sucharevich
committed
add nodeSelector to api request
1 parent 3c0acf7 commit ef29739

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.14.0
1+
0.15.0

pkg/codefresh/runtime_enrionment.go

+2
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ type (
7878
StorageClass string
7979
RunnerType string
8080
DockerDaemonParams string
81+
NodeSelector string
8182
}
8283

8384
ValidateRuntimeOptions struct {
@@ -116,6 +117,7 @@ func (r *runtimeEnvironment) Create(opt *CreateRuntimeOptions) (*RuntimeEnvironm
116117
"storageClassName": opt.StorageClass,
117118
"runnerType": opt.RunnerType,
118119
"dockerDaemonParams": opt.DockerDaemonParams,
120+
"nodeSelector": opt.NodeSelector,
119121
}
120122
if opt.HasAgent {
121123
body["agent"] = true

0 commit comments

Comments
 (0)