Skip to content

Instantly share code, notes, and snippets.

  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save PlagueHO/6da009d41c531164fdb8f86c62a49906 to your computer and use it in GitHub Desktop.
ARM Template for deploying an AKS Cluster with Managed AAD Integration
{
"$schema": "https://schema.management.azure.com/schemas/2019-08-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"clusterAdminGroupObjectIds": {
"defaultValue": [],
"type": "array",
"metadata": {
"description": "Array of Azure AD Group object Ids to use for cluster administrators."
}
}
},
"resources": [
{
"name": "MyAksCluster",
"type": "Microsoft.ContainerService/managedClusters",
"apiVersion": "2020-04-01",
"location": "eastus",
"properties": {
"kubernetesVersion": "1.18.4",
"enableRBAC": true,
"aadProfile": {
"managed": true,
"adminGroupObjectIds": "[parameters('clusterAdminGroupObjectIds')]",
"tenantId": "[subscription().tenantId]"
}
// Other cluster properties here...
},
"identity": {
"type": "SystemAssigned"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment