Open
Description
Library name and version
Azure.ResourceManager.ContainerService 1.2.2
Query/Question
I'm trying to configure the AGIC addon to use a user created MI. i have this
managedClusterData.AddonProfiles["IngressApplicationGateway"] = new ManagedClusterAddonProfile(isEnabled: true)
{
Config =
{
{"sku", "WAF_2" },
{"enableHttp2", "true" },
{"applicationGatewayId", appGatewayId.Id },
{"userAssignedIdentities", kubeletId.Id }
}
which converts to this when deployed
"IngressApplicationGateway": {
"enabled": true,
"config": {
"applicationGatewayId": "[parameters('applicationGateways_usermicheck2_appgw_externalid')]",
"effectiveApplicationGatewayId": "[parameters('applicationGateways_usermicheck2_appgw_externalid')]",
"enableHttp2": "true",
"sku": "WAF_2",
"userAssignedIdentities": "[parameters('userAssignedIdentities_kubelet_usermicheck2_mi_externalid')]"
}
but it's still using the default ingressapplicationgateway-{AKSNAME} MI. How can I configure it to use the user created MI or is this not possible any more?
Environment
No response