Skip to content

Commit

Permalink
docs: add missing field Capabilities to Namespace API (#16931)
Browse files Browse the repository at this point in the history
  • Loading branch information
lgfa29 committed Apr 19, 2023
1 parent 3d996df commit e169847
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion website/content/api-docs/namespaces.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"]
}
}
```

Expand Down

0 comments on commit e169847

Please sign in to comment.