Skip to content

[QUERY] AddonProfiles["IngressApplicationGateway"] #48290

Open
@cwash05

Description

@cwash05

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

Metadata

Metadata

Assignees

Labels

Container ServiceMgmtThis issue is related to a management-plane library.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-author-feedbackWorkflow: More information is needed from author to address the issue.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions