We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40be904 commit 85dedfcCopy full SHA for 85dedfc
VERSION
@@ -1 +1 @@
1
-0.8.1
+0.9.0
pkg/codefresh/runtime_enrionment.go
@@ -63,9 +63,10 @@ type (
63
}
64
65
CreateRuntimeOptions struct {
66
- Cluster string
67
- Namespace string
68
- HasAgent bool
+ Cluster string
+ Namespace string
+ HasAgent bool
69
+ StorageClass string
70
71
72
ValidateRuntimeOptions struct {
@@ -99,8 +100,9 @@ func (r *runtimeEnvironment) Create(opt *CreateRuntimeOptions) (*RuntimeEnvironm
99
100
},
101
102
body := map[string]interface{}{
- "clusterName": opt.Cluster,
103
- "namespace": opt.Namespace,
+ "clusterName": opt.Cluster,
104
+ "namespace": opt.Namespace,
105
+ "storageClassName": opt.StorageClass,
106
107
if opt.HasAgent {
108
body["agent"] = true
0 commit comments