File
Export admission control configuration as a yaml format. The exported yaml file can be imported by CRD or REST API to update the admission control settings.
post/file/admission
Request
- Base URL/v1 (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared. Required headers: X-Auth-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
scope'local'
It exports the admission control rules & state configurations when the scope is local.
Headers
X-Auth-Tokenstring required
Request body
Example request
{
"export_config": true,
"ids": [
12
]
}Response
Success. Get a yaml file.
Changes
No recorded changes to this operation across all 1 revision of this API.