File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -147,6 +147,7 @@ type KubernetesClusterConfig struct {
147
147
FirewallRule string `json:"firewall_rule,omitempty"`
148
148
FirewallID string `json:"firewall_id,omitempty"`
149
149
CNIPlugin string `json:"cni_plugin,omitempty"`
150
+ VolumeType string `json:"volume_type,omitempty"`
150
151
}
151
152
152
153
// KubernetesClusterPoolConfig is used to create a new cluster pool
Original file line number Diff line number Diff line change @@ -230,7 +230,8 @@ func TestNewKubernetesClusters(t *testing.T) {
230
230
"plan": null,
231
231
"configuration": {}
232
232
}],
233
- "cni_plugin": "flannel"
233
+ "cni_plugin": "flannel",
234
+ "volume_type": "encrypted-standard"
234
235
}` ,
235
236
})
236
237
defer server .Close ()
@@ -242,6 +243,7 @@ func TestNewKubernetesClusters(t *testing.T) {
242
243
NumTargetNodes : 3 ,
243
244
TargetNodesSize : "g2.xsmall" ,
244
245
Applications : "traefik" ,
246
+ VolumeType : "encrypted-standard" ,
245
247
}
246
248
got , err := client .NewKubernetesClusters (cfg )
247
249
@@ -295,7 +297,8 @@ func TestNewKubernetesClusters(t *testing.T) {
295
297
ImageURL : "https://api.civo.com/k3s-marketplace/traefik.png" ,
296
298
Configuration : map [string ]ApplicationConfiguration {},
297
299
}},
298
- CNIPlugin : "flannel" ,
300
+ CNIPlugin : "flannel" ,
301
+ VolumeType : "encrypted-standard" ,
299
302
}
300
303
301
304
if ! reflect .DeepEqual (got , expected ) {
You can’t perform that action at this time.
0 commit comments