Skip to content

Added guardrails profile to specs #20171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Original file line number Diff line number Diff line change
Expand Up @@ -5750,6 +5750,55 @@
]
},
"description": "The type of a snapshot. The default is NodePool."
},
"GuardrailsProfile": {
"type": "object",
"properties": {
"systemExcludedNamespaces": {
"readOnly": true,
"type": "array",
"description": "List of namespaces specified by AKS to be excluded from Guardrails",
"items": {
"type": "string"
}
},
"version": {
"type": "string",
"description": "The version of constraints to use"
},
"level": {
"type": "string",
"enum": [
"Off",
"Warning",
"Enforcement"
],
"x-ms-enum": {
"name": "level",
"modelAsString": true
},
"description": "The guardrails level to be used"
},
"includedNamespaces": {
"description": "Customer-specified list of namespaces that must be included in guardrails",
"type": "array",
"items": {
"type": "string"
}
},
"excludedNamespaces": {
"description": "Customer-specified list of namespaces that must be excluded from guardrails",
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"level",
"version"
],
"description": "The Guardrails profile."
}
},
"parameters": {
Expand Down