We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fa7d22 commit 114b705Copy full SHA for 114b705
modules/azure_aks/main.tf
@@ -38,7 +38,10 @@ resource "azurerm_kubernetes_cluster" "aks" {
38
network_plugin_mode = var.aks_network_plugin_mode
39
service_cidr = var.aks_service_cidr
40
dns_service_ip = var.aks_dns_service_ip
41
- pod_cidr = var.aks_network_plugin == "kubenet" ? var.aks_pod_cidr : null
+ pod_cidr = (
42
+ var.aks_network_plugin == "kubenet" ||
43
+ (var.aks_network_plugin == "azure" && var.aks_network_plugin_mode == "overlay")
44
+ ) ? var.aks_pod_cidr : null
45
outbound_type = var.cluster_egress_type
46
load_balancer_sku = "standard"
47
}
0 commit comments