Open rogerm-chen opened 2 years ago
Thanks for opening this issue @rogerm-chen.
Since this issue pertains to the last major version of the provider and the above config is no longer valid. Would you be able to confirm whether you still observe this behaviour with the latest version of the provider?
Hi, I can confirm that the problem still exists. I have set up a Kubernetes cluster with the Kubenet and an application gateway with the corresponding Ingress controller in the cluster. I had to manually add the route table to the subnet of the application gateway.
I used the following versions:
Community Note
Terraform (and AzureRM Provider) Version
provider registry.terraform.io/hashicorp/azurerm v2.94.0 Terraform v1.0.4
Affected Resource(s)
azurerm_kubernetes_cluster
azurerm_application_gateway
Terraform Configuration Files
addon_profile { http_application_routing { enabled = var.http_application_routing_enabled }
}
Debug Output
Panic Output
Expected Behaviour
As per kubenet: associate route table to appgw subnet when creating AGIC for kubenet AKS, the routetable for AKS should be automatically linked to app gateway subnet.
Actual Behaviour
the AKS subnet routetable is not attached to APP gateway subnet, even they are in the same vnet
Steps to Reproduce
terraform apply
Important Factoids
References
0000