Skip to content

Commit 3c0acf7

Browse files
author
Oleg Sucharevich
committed
allow passing docker daemon params
1 parent 038e8b3 commit 3c0acf7

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.13.0
1+
0.14.0

pkg/codefresh/runtime_enrionment.go

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,12 @@ type (
7272
}
7373

7474
CreateRuntimeOptions struct {
75-
Cluster string
76-
Namespace string
77-
HasAgent bool
78-
StorageClass string
79-
RunnerType string
75+
Cluster string
76+
Namespace string
77+
HasAgent bool
78+
StorageClass string
79+
RunnerType string
80+
DockerDaemonParams string
8081
}
8182

8283
ValidateRuntimeOptions struct {
@@ -110,10 +111,11 @@ func (r *runtimeEnvironment) Create(opt *CreateRuntimeOptions) (*RuntimeEnvironm
110111
},
111112
}
112113
body := map[string]interface{}{
113-
"clusterName": opt.Cluster,
114-
"namespace": opt.Namespace,
115-
"storageClassName": opt.StorageClass,
116-
"runnerType": opt.RunnerType,
114+
"clusterName": opt.Cluster,
115+
"namespace": opt.Namespace,
116+
"storageClassName": opt.StorageClass,
117+
"runnerType": opt.RunnerType,
118+
"dockerDaemonParams": opt.DockerDaemonParams,
117119
}
118120
if opt.HasAgent {
119121
body["agent"] = true

0 commit comments

Comments
 (0)