File tree Expand file tree Collapse file tree 3 files changed +63
-0
lines changed Expand file tree Collapse file tree 3 files changed +63
-0
lines changed Original file line number Diff line number Diff line change @@ -413,6 +413,38 @@ Type: `number`
413
413
414
414
Default: ` 0 `
415
415
416
+ ### storage\_ profile\_ blob\_ driver\_ enabled
417
+
418
+ Description: Is the Blob CSI driver enabled?
419
+
420
+ Type: ` bool `
421
+
422
+ Default: ` false `
423
+
424
+ ### storage\_ profile\_ disk\_ driver\_ enabled
425
+
426
+ Description: Is the Disk CSI driver enabled?
427
+
428
+ Type: ` bool `
429
+
430
+ Default: ` true `
431
+
432
+ ### storage\_ profile\_ file\_ driver\_ enabled
433
+
434
+ Description: Is the File CSI driver enabled?
435
+
436
+ Type: ` bool `
437
+
438
+ Default: ` true `
439
+
440
+ ### storage\_ profile\_ snapshot\_ controller\_ enabled
441
+
442
+ Description: Is the Snapshot Controller enabled?
443
+
444
+ Type: ` bool `
445
+
446
+ Default: ` true `
447
+
416
448
### tags
417
449
418
450
Description: Map of tags for the resources
Original file line number Diff line number Diff line change @@ -105,6 +105,13 @@ resource "azurerm_kubernetes_cluster" "k8s" {
105
105
}
106
106
}
107
107
108
+ storage_profile {
109
+ blob_driver_enabled = var. storage_profile_blob_driver_enabled
110
+ disk_driver_enabled = var. storage_profile_disk_driver_enabled
111
+ file_driver_enabled = var. storage_profile_file_driver_enabled
112
+ snapshot_controller_enabled = var. storage_profile_snapshot_controller_enabled
113
+ }
114
+
108
115
dynamic "linux_profile" {
109
116
for_each = var. ssh_public_key == " " ? [] : [var . ssh_public_key ]
110
117
content {
Original file line number Diff line number Diff line change @@ -329,3 +329,27 @@ variable "default_node_pool_node_soak_duration_in_minutes" {
329
329
}
330
330
default = 0
331
331
}
332
+
333
+ variable "storage_profile_blob_driver_enabled" {
334
+ type = bool
335
+ default = false
336
+ description = " Is the Blob CSI driver enabled?"
337
+ }
338
+
339
+ variable "storage_profile_disk_driver_enabled" {
340
+ type = bool
341
+ default = true
342
+ description = " Is the Disk CSI driver enabled?"
343
+ }
344
+
345
+ variable "storage_profile_file_driver_enabled" {
346
+ type = bool
347
+ default = true
348
+ description = " Is the File CSI driver enabled?"
349
+ }
350
+
351
+ variable "storage_profile_snapshot_controller_enabled" {
352
+ type = bool
353
+ default = true
354
+ description = " Is the Snapshot Controller enabled?"
355
+ }
You can’t perform that action at this time.
0 commit comments