diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-09-23 20:55:33 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-11-11 09:22:37 +0100 |
commit | 72a0f90070e56a5e96723d083f2336f95a4f2d10 (patch) | |
tree | d329c93069969e5be1cbcc6e182d870bfa8623e1 | |
parent | d814deb806f2b18e009d9258b7406793a11ac3a3 (diff) | |
download | garage-72a0f90070e56a5e96723d083f2336f95a4f2d10.tar.gz garage-72a0f90070e56a5e96723d083f2336f95a4f2d10.zip |
Make capacity nullable to allow gateway config
-rw-r--r-- | doc/api/garage-admin-v0.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/garage-admin-v0.yml b/doc/api/garage-admin-v0.yml index a9d50b42..00250399 100644 --- a/doc/api/garage-admin-v0.yml +++ b/doc/api/garage-admin-v0.yml @@ -144,6 +144,7 @@ paths: summary: "Send modifications to the cluster layout" description: | Send modifications to the cluster layout. These modifications will be included in the staged role changes, visible in subsequent calls of `GET /layout`. Once the set of staged changes is satisfactory, the user may call `POST /layout/apply` to apply the changed changes, or `POST /layout/revert` to clear all of the staged changes in the layout. + Note that setting the capacity to `null` will configure the node as a gateway. requestBody: description: | To add a new node to the layout or to change the configuration of an existing node, simply set the values you want. @@ -487,6 +488,7 @@ components: example: dc1 capacity: type: integer + nullable: true example: 4 tags: type: array |