Skip to content

Commit

Permalink
Merge pull request #1904 from sschne/aks-temporary-name-for-rotation
Browse files Browse the repository at this point in the history
feat(aks): add temporary_name_for_rotation
  • Loading branch information
arnaudlh authored Jan 18, 2024
2 parents 6f68a55 + a8c9751 commit d991a8a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,12 @@ aks_clusters = {
key = "aks_nodepool_system"
#resource_id = "/subscriptions/97958dac-xxxx-xxxx-xxxx-9f436fa73bd4/resourceGroups/qxgc-rg-aks-re1/providers/Microsoft.Network/virtualNetworks/qxgc-vnet-aks/subnets/qxgc-snet-aks_nodepool_system"
}
enabled_auto_scaling = false
enable_node_public_ip = false
max_pods = 30
node_count = 1
os_disk_size_gb = 512
enabled_auto_scaling = false
enable_node_public_ip = false
max_pods = 30
node_count = 1
os_disk_size_gb = 512
temporary_name_for_rotation = "temp"
tags = {
"project" = "system services"
}
Expand All @@ -80,4 +81,4 @@ aks_clusters = {
}
}
}
}
}
1 change: 1 addition & 0 deletions modules/compute/aks/aks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ resource "azurerm_kubernetes_cluster" "aks" {
os_disk_type = try(var.settings.default_node_pool.os_disk_type, null)
os_sku = try(var.settings.default_node_pool.os_sku, null)
tags = merge(try(var.settings.default_node_pool.tags, {}), local.tags)
temporary_name_for_rotation = try(var.settings.default_node_pool.temporary_name_for_rotation, null)
type = try(var.settings.default_node_pool.type, "VirtualMachineScaleSets")
ultra_ssd_enabled = try(var.settings.default_node_pool.ultra_ssd_enabled, false)
vm_size = var.settings.default_node_pool.vm_size
Expand Down

0 comments on commit d991a8a

Please sign in to comment.