5 months ago
    Hello, I am working on creating an AKS cluster using the native provider. Two issues I have ran into is how to enable the application gateway ingress controller and enable azure policy for the cluster. The classic (terraform) provider includes options for that but I am unable to find those options for the native provider
    I am thinking it might have to do with the addon_profiles property
    Yea that is it. It would be nice if the documentation could specify that and explain how to list the different addons.
    I ran
    az aks addon list-available -o table


    5 months ago
    This is a limitation of the ARM API, they don't expose the properties here in the API


    5 months ago
    @fast-dinner-32080 I don't know if you already found it, but here is how we add the azure policy for the cluster:
    AddonProfiles =
    "azurepolicy", new ManagedClusterAddonProfileArgs
    Enabled = true
    in the ManagedClusterArgs