This commit is contained in:
Marvin Buss 2021-01-14 00:07:49 +01:00
Родитель d7fa7b4269
Коммит bf72e36e36
1 изменённых файлов: 41 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,41 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"policyName": {
"value": "Deny-Kubernetes"
},
"policyDescription": {
"value": "Restrict deployment of Azure Kubernetes."
},
"policyMode": {
"value": "All"
},
"policyParameters": {
"value": {}
},
"policyDefinition": {
"value": {
"if": {
"allOf": [
{
"field": "type",
"equals": "Microsoft.ContainerService/managedClusters"
}
]
},
"then": {
"effect": "Deny"
}
}
},
"policyMetadata": {
"value": {
"version": "1.0.0",
"category": "AKS",
"preview": false,
"deprecated": false
}
}
}
}