File tree 1 file changed +39
-0
lines changed
1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change @@ -290,6 +290,45 @@ resource "ovh_cloud_project_kube_nodepool" "pool" {
290
290
291
291
`
292
292
293
+ var testAccCloudProjectKubeNodePoolConfigWithoutMaxMin = `
294
+ resource "ovh_cloud_project_kube" "cluster" {
295
+ service_name = "%s"
296
+ name = "%s"
297
+ region = "%s"
298
+ version = "%s"
299
+ }
300
+
301
+ resource "ovh_cloud_project_kube_nodepool" "pool" {
302
+ service_name = ovh_cloud_project_kube.cluster.service_name
303
+ kube_id = ovh_cloud_project_kube.cluster.id
304
+ name = ovh_cloud_project_kube.cluster.name
305
+ flavor_name = "b2-7"
306
+ desired_nodes = 1
307
+ template {
308
+ metadata {
309
+ annotations = {
310
+ a1 = "av1"
311
+ }
312
+ finalizers = ["finalizer.extensions/v1beta1"]
313
+ labels = {
314
+ l1 = "lv1"
315
+ }
316
+ }
317
+ spec {
318
+ unschedulable = false
319
+ taints = [
320
+ {
321
+ effect = "PreferNoSchedule"
322
+ key = "t1"
323
+ value = "tv1"
324
+ }
325
+ ]
326
+ }
327
+ }
328
+ }
329
+
330
+ `
331
+
293
332
func TestAccCloudProjectKubeNodePoolRessource (t * testing.T ) {
294
333
name := acctest .RandomWithPrefix (test_prefix )
295
334
region := os .Getenv ("OVH_CLOUD_PROJECT_KUBE_REGION_TEST" )
You can’t perform that action at this time.
0 commit comments