https://pulumi.com logo
#azure
Title
# azure
f

fast-dinner-32080

04/08/2022, 9:14 PM
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 https://www.pulumi.com/registry/packages/azure-native/api-docs/containerservice/managedcluster/
I am thinking it might have to do with the addon_profiles property
👍 1
Yea that is it. It would be nice if the documentation could specify that and explain how to list the different addons.
👍 1
I ran
az aks addon list-available -o table
b

billowy-army-68599

04/09/2022, 4:41 PM
This is a limitation of the ARM API, they don't expose the properties here in the API
a

able-train-72108

04/13/2022, 12:19 AM
@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
15 Views