docs: add missing field Capabilities to Namespace API (#16931)

This commit is contained in:
Luiz Aoqui
2023-04-19 08:14:36 -07:00
committed by GitHub
parent 3d996dffc4
commit e169847a64

View File

@@ -145,6 +145,15 @@ The table below shows this endpoint's support for
- `Quota` `(string: "")` - Specifies an quota to attach to the namespace.
- `Capabilities` `(Capabilities: <optional>)` - Specifies capabilities allowed
in the namespace. These values are checked at job submission.
- `EnabledTaskDrivers` `(array<string>: [])` - List of task drivers allowed
in the namespace. If empty all task drivers are allowed.
- `DisabledTaskDrivers` `(array<string>: [])` - List of task drivers disabled
in the namespace.
### Sample Payload
```javascript
@@ -154,7 +163,10 @@ The table below shows this endpoint's support for
"Meta": {
"contact": "platform-eng@example.com"
},
"Quota": "prod-quota"
"Quota": "prod-quota",
"Capabilities": {
"DisabledTaskDrivers": ["raw_exec"]
}
}
```