application-gateway-kubernetes-ingress
application-gateway-kubernetes-ingress copied to clipboard
AGIC strips "globalConfiguration" setting from the App Gateway when generating configuration
Describe the bug The AGIC will strip off the globalConfiguration settings of the Application Gateway when generates a configuration and applies it to the application gateway.
To Reproduce
- Create an Application Gateway with
globalConfiguration
options configured. Example .bicep file here. - Confirm that the
globalConfiguration
options are present:
az network application-gateway show --name <name> -g <resourceGroup> | jq .globalConfiguration
- Associate the Application Gateway with the AKS Cluster
- Wait for AGIC to generate a configuration for the Application Gateway, and you will see the json output does not include the
globalConfiguration
object - Confirm that the
globalConfiguration
options are now set tonull
:
az network application-gateway show --name <name> -g <resourceGroup> | jq .globalConfiguration
Ingress Controller details Image: mcr.microsoft.com/azure-application-gateway/kubernetes-ingress:1.4.0 Image ID: sha256:5ad5239382f01438687342946dceea96b45d38a9ec396f73e5533bf5b0a8d432