From 3bd792c3b336f7b1a0d238d28b1370248ebcf806 Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Tue, 22 Oct 2024 14:28:28 +0000 Subject: [PATCH] feat: update generated APIs --- ...l-usage-block-snapshot-create-usage.golden | 2 +- ...l-usage-block-snapshot-delete-usage.golden | 2 +- ...shot-export-to-object-storage-usage.golden | 2 +- ...-all-usage-block-snapshot-get-usage.golden | 2 +- ...ot-import-from-object-storage-usage.golden | 2 +- ...all-usage-block-snapshot-list-usage.golden | 2 +- ...l-usage-block-snapshot-update-usage.golden | 2 +- ...all-usage-block-volume-create-usage.golden | 2 +- ...all-usage-block-volume-delete-usage.golden | 2 +- ...st-all-usage-block-volume-get-usage.golden | 2 +- ...t-all-usage-block-volume-list-usage.golden | 2 +- ...-usage-block-volume-type-list-usage.golden | 2 +- ...all-usage-block-volume-update-usage.golden | 2 +- .../test-all-usage-k8s-cluster-usage.golden | 1 - docs/commands/block.md | 26 ++++++++-------- docs/commands/k8s.md | 31 ------------------- go.mod | 2 +- go.sum | 4 +-- .../testdata/test-create-simple.golden | 1 + 19 files changed, 30 insertions(+), 61 deletions(-) diff --git a/cmd/scw/testdata/test-all-usage-block-snapshot-create-usage.golden b/cmd/scw/testdata/test-all-usage-block-snapshot-create-usage.golden index ca34d89877..60d784a782 100644 --- a/cmd/scw/testdata/test-all-usage-block-snapshot-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-block-snapshot-create-usage.golden @@ -11,7 +11,7 @@ ARGS: [name] Name of the snapshot [project-id] Project ID to use. If none is passed the default project ID will be used [tags.{index}] List of tags assigned to the snapshot - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) FLAGS: -h, --help help for create diff --git a/cmd/scw/testdata/test-all-usage-block-snapshot-delete-usage.golden b/cmd/scw/testdata/test-all-usage-block-snapshot-delete-usage.golden index 394ea05920..d4bfee2a8d 100644 --- a/cmd/scw/testdata/test-all-usage-block-snapshot-delete-usage.golden +++ b/cmd/scw/testdata/test-all-usage-block-snapshot-delete-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: snapshot-id UUID of the snapshot - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) FLAGS: -h, --help help for delete diff --git a/cmd/scw/testdata/test-all-usage-block-snapshot-export-to-object-storage-usage.golden b/cmd/scw/testdata/test-all-usage-block-snapshot-export-to-object-storage-usage.golden index 39bb1800a3..20ea8b32b6 100644 --- a/cmd/scw/testdata/test-all-usage-block-snapshot-export-to-object-storage-usage.golden +++ b/cmd/scw/testdata/test-all-usage-block-snapshot-export-to-object-storage-usage.golden @@ -10,7 +10,7 @@ ARGS: snapshot-id UUID of the snapshot [bucket] Scaleway Object Storage bucket where the object is stored [key] The object key inside the given bucket - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) FLAGS: -h, --help help for export-to-object-storage diff --git a/cmd/scw/testdata/test-all-usage-block-snapshot-get-usage.golden b/cmd/scw/testdata/test-all-usage-block-snapshot-get-usage.golden index 84075c7b7e..96e8d4f6fd 100644 --- a/cmd/scw/testdata/test-all-usage-block-snapshot-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-block-snapshot-get-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: snapshot-id UUID of the snapshot - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) FLAGS: -h, --help help for get diff --git a/cmd/scw/testdata/test-all-usage-block-snapshot-import-from-object-storage-usage.golden b/cmd/scw/testdata/test-all-usage-block-snapshot-import-from-object-storage-usage.golden index c54142e570..165f8afe0f 100644 --- a/cmd/scw/testdata/test-all-usage-block-snapshot-import-from-object-storage-usage.golden +++ b/cmd/scw/testdata/test-all-usage-block-snapshot-import-from-object-storage-usage.golden @@ -13,7 +13,7 @@ ARGS: [project-id] Project ID to use. If none is passed the default project ID will be used [tags.{index}] List of tags assigned to the snapshot [size] Size of the snapshot - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) FLAGS: -h, --help help for import-from-object-storage diff --git a/cmd/scw/testdata/test-all-usage-block-snapshot-list-usage.golden b/cmd/scw/testdata/test-all-usage-block-snapshot-list-usage.golden index d86e7a152d..ef2db0a8aa 100644 --- a/cmd/scw/testdata/test-all-usage-block-snapshot-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-block-snapshot-list-usage.golden @@ -11,7 +11,7 @@ ARGS: [volume-id] Filter snapshots by the ID of the original volume [name] Filter snapshots by their names [organization-id] Filter by Organization ID - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-3 | all) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | all) FLAGS: -h, --help help for list diff --git a/cmd/scw/testdata/test-all-usage-block-snapshot-update-usage.golden b/cmd/scw/testdata/test-all-usage-block-snapshot-update-usage.golden index 2ca654a54a..3f68b8b6e4 100644 --- a/cmd/scw/testdata/test-all-usage-block-snapshot-update-usage.golden +++ b/cmd/scw/testdata/test-all-usage-block-snapshot-update-usage.golden @@ -9,7 +9,7 @@ ARGS: snapshot-id UUID of the snapshot [name] When defined, is the name of the snapshot [tags.{index}] List of tags assigned to the snapshot - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) FLAGS: -h, --help help for update diff --git a/cmd/scw/testdata/test-all-usage-block-volume-create-usage.golden b/cmd/scw/testdata/test-all-usage-block-volume-create-usage.golden index 13b5d548da..6680878ca1 100644 --- a/cmd/scw/testdata/test-all-usage-block-volume-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-block-volume-create-usage.golden @@ -14,7 +14,7 @@ ARGS: [from-snapshot.size] Volume size in bytes, with a granularity of 1 GB (10^9 bytes) [from-snapshot.snapshot-id] Source snapshot from which volume will be created [tags.{index}] List of tags assigned to the volume - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) FLAGS: -h, --help help for create diff --git a/cmd/scw/testdata/test-all-usage-block-volume-delete-usage.golden b/cmd/scw/testdata/test-all-usage-block-volume-delete-usage.golden index 95769ad918..e5a79916ed 100644 --- a/cmd/scw/testdata/test-all-usage-block-volume-delete-usage.golden +++ b/cmd/scw/testdata/test-all-usage-block-volume-delete-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: volume-id UUID of the volume - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) FLAGS: -h, --help help for delete diff --git a/cmd/scw/testdata/test-all-usage-block-volume-get-usage.golden b/cmd/scw/testdata/test-all-usage-block-volume-get-usage.golden index aa4ccaa86e..654b5fd31f 100644 --- a/cmd/scw/testdata/test-all-usage-block-volume-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-block-volume-get-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: volume-id UUID of the volume - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) FLAGS: -h, --help help for get diff --git a/cmd/scw/testdata/test-all-usage-block-volume-list-usage.golden b/cmd/scw/testdata/test-all-usage-block-volume-list-usage.golden index 47178efc51..e61dd4b82c 100644 --- a/cmd/scw/testdata/test-all-usage-block-volume-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-block-volume-list-usage.golden @@ -11,7 +11,7 @@ ARGS: [name] Filter the return volumes by their names [product-resource-id] Filter by a product resource ID linked to this volume (such as an Instance ID) [organization-id] Filter by Organization ID - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-3 | all) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | all) FLAGS: -h, --help help for list diff --git a/cmd/scw/testdata/test-all-usage-block-volume-type-list-usage.golden b/cmd/scw/testdata/test-all-usage-block-volume-type-list-usage.golden index 9fe6050e2e..29907dc31a 100644 --- a/cmd/scw/testdata/test-all-usage-block-volume-type-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-block-volume-type-list-usage.golden @@ -6,7 +6,7 @@ USAGE: scw block volume-type list [arg=value ...] ARGS: - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-3 | all) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | all) FLAGS: -h, --help help for list diff --git a/cmd/scw/testdata/test-all-usage-block-volume-update-usage.golden b/cmd/scw/testdata/test-all-usage-block-volume-update-usage.golden index b742ef225c..83d8e2a1be 100644 --- a/cmd/scw/testdata/test-all-usage-block-volume-update-usage.golden +++ b/cmd/scw/testdata/test-all-usage-block-volume-update-usage.golden @@ -12,7 +12,7 @@ ARGS: [size] Optional field for increasing the size of a volume (size must be equal or larger than the current one) [tags.{index}] List of tags assigned to the volume [perf-iops] The maximum IO/s expected, according to the different options available in stock (`5000 | 15000`) - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) FLAGS: -h, --help help for update diff --git a/cmd/scw/testdata/test-all-usage-k8s-cluster-usage.golden b/cmd/scw/testdata/test-all-usage-k8s-cluster-usage.golden index 69cb5e0cd5..d1e4772c9f 100644 --- a/cmd/scw/testdata/test-all-usage-k8s-cluster-usage.golden +++ b/cmd/scw/testdata/test-all-usage-k8s-cluster-usage.golden @@ -13,7 +13,6 @@ AVAILABLE COMMANDS: list List Clusters list-available-types List available cluster types for a cluster list-available-versions List available versions for a Cluster - migrate-to-routed-ips Migrate a cluster to Routed IPs migrate-to-sbs-csi Migrate a cluster to SBS CSI reset-admin-token Reset the admin token of a Cluster set-type Change the Cluster type diff --git a/docs/commands/block.md b/docs/commands/block.md index 0d722a4fad..ade04784d7 100644 --- a/docs/commands/block.md +++ b/docs/commands/block.md @@ -45,7 +45,7 @@ scw block snapshot create [arg=value ...] | name | | Name of the snapshot | | project-id | | Project ID to use. If none is passed the default project ID will be used | | tags.{index} | | List of tags assigned to the snapshot | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | @@ -65,7 +65,7 @@ scw block snapshot delete [arg=value ...] | Name | | Description | |------|---|-------------| | snapshot-id | Required | UUID of the snapshot | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | @@ -88,7 +88,7 @@ scw block snapshot export-to-object-storage [arg=value ...] | snapshot-id | Required | UUID of the snapshot | | bucket | | Scaleway Object Storage bucket where the object is stored | | key | | The object key inside the given bucket | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | @@ -108,7 +108,7 @@ scw block snapshot get [arg=value ...] | Name | | Description | |------|---|-------------| | snapshot-id | Required | UUID of the snapshot | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | @@ -134,7 +134,7 @@ scw block snapshot import-from-object-storage [arg=value ...] | project-id | | Project ID to use. If none is passed the default project ID will be used | | tags.{index} | | List of tags assigned to the snapshot | | size | | Size of the snapshot | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | @@ -158,7 +158,7 @@ scw block snapshot list [arg=value ...] | volume-id | | Filter snapshots by the ID of the original volume | | name | | Filter snapshots by their names | | organization-id | | Filter by Organization ID | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-3`, `all` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `all` | Zone to target. If none is passed will use default zone from the config | @@ -180,7 +180,7 @@ scw block snapshot update [arg=value ...] | snapshot-id | Required | UUID of the snapshot | | name | | When defined, is the name of the snapshot | | tags.{index} | | List of tags assigned to the snapshot | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | @@ -212,7 +212,7 @@ scw block volume create [arg=value ...] | from-snapshot.size | | Volume size in bytes, with a granularity of 1 GB (10^9 bytes) | | from-snapshot.snapshot-id | | Source snapshot from which volume will be created | | tags.{index} | | List of tags assigned to the volume | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | @@ -232,7 +232,7 @@ scw block volume delete [arg=value ...] | Name | | Description | |------|---|-------------| | volume-id | Required | UUID of the volume | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | @@ -252,7 +252,7 @@ scw block volume get [arg=value ...] | Name | | Description | |------|---|-------------| | volume-id | Required | UUID of the volume | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | @@ -276,7 +276,7 @@ scw block volume list [arg=value ...] | name | | Filter the return volumes by their names | | product-resource-id | | Filter by a product resource ID linked to this volume (such as an Instance ID) | | organization-id | | Filter by Organization ID | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-3`, `all` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `all` | Zone to target. If none is passed will use default zone from the config | @@ -301,7 +301,7 @@ scw block volume update [arg=value ...] | size | | Optional field for increasing the size of a volume (size must be equal or larger than the current one) | | tags.{index} | | List of tags assigned to the volume | | perf-iops | | The maximum IO/s expected, according to the different options available in stock (`5000 | 15000`) | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | @@ -325,7 +325,7 @@ scw block volume-type list [arg=value ...] | Name | | Description | |------|---|-------------| -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-3`, `all` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `all` | Zone to target. If none is passed will use default zone from the config | diff --git a/docs/commands/k8s.md b/docs/commands/k8s.md index 2efe66c4ae..d96e12a7da 100644 --- a/docs/commands/k8s.md +++ b/docs/commands/k8s.md @@ -10,7 +10,6 @@ This API allows you to manage Kubernetes Kapsule and Kosmos clusters. - [List Clusters](#list-clusters) - [List available cluster types for a cluster](#list-available-cluster-types-for-a-cluster) - [List available versions for a Cluster](#list-available-versions-for-a-cluster) - - [Migrate a cluster to Routed IPs](#migrate-a-cluster-to-routed-ips) - [Migrate a cluster to SBS CSI](#migrate-a-cluster-to-sbs-csi) - [Reset the admin token of a Cluster](#reset-the-admin-token-of-a-cluster) - [Change the Cluster type](#change-the-cluster-type) @@ -318,36 +317,6 @@ scw k8s cluster list-available-versions 11111111-1111-1111-111111111111 -### Migrate a cluster to Routed IPs - -Migrate the nodes of an existing cluster to Routed IPs and enable Routed IPs for all future nodes. - -**Usage:** - -``` -scw k8s cluster migrate-to-routed-ips [arg=value ...] -``` - - -**Args:** - -| Name | | Description | -|------|---|-------------| -| cluster-id | Required | Cluster ID for which the routed ip will be enabled for the nodes | -| region | Default: `fr-par`
One of: `fr-par`, `nl-ams`, `pl-waw` | Region to target. If none is passed will use default region from the config | - - -**Examples:** - - -Migrate a cluster to Routed IPs -``` -scw k8s cluster migrate-to-routed-ips 11111111-1111-1111-111111111111 -``` - - - - ### Migrate a cluster to SBS CSI Enable the latest CSI compatible with Scaleway Block Storage (SBS) and migrate all existing PersistentVolumes/VolumeSnapshotContents to SBS. diff --git a/go.mod b/go.mod index ac0e24e791..ab1d4fc3d5 100644 --- a/go.mod +++ b/go.mod @@ -26,7 +26,7 @@ require ( github.com/mattn/go-isatty v0.0.20 github.com/moby/buildkit v0.13.2 github.com/opencontainers/go-digest v1.0.0 - github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20241021142112-037d5d27298e + github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20241021150316-697a449e7af5 github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 github.com/spf13/cobra v1.8.1 github.com/spf13/pflag v1.0.5 diff --git a/go.sum b/go.sum index f56783ae74..1af2d41bb1 100644 --- a/go.sum +++ b/go.sum @@ -465,8 +465,8 @@ github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUz github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20241021142112-037d5d27298e h1:zoeTDRF5ycn1pdpxiLtRPSAmJ5WrUVaD9/7yYeUnHgs= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20241021142112-037d5d27298e/go.mod h1:3jrRJM7638J+P33hKy9MBvfOBxNo8pEGNQQoIv65Ihg= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20241021150316-697a449e7af5 h1:f5KD4Jr6Gb4v6j1fpKvql90auUaeYQGp8oPEyf7CkGY= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20241021150316-697a449e7af5/go.mod h1:3jrRJM7638J+P33hKy9MBvfOBxNo8pEGNQQoIv65Ihg= github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8= github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM= github.com/secure-systems-lab/go-securesystemslib v0.8.0 h1:mr5An6X45Kb2nddcFlbmfHkLguCE9laoZCUzEEpIZXA= diff --git a/internal/namespaces/container/v1beta1/testdata/test-create-simple.golden b/internal/namespaces/container/v1beta1/testdata/test-create-simple.golden index fb631cfa57..c92e5e2889 100644 --- a/internal/namespaces/container/v1beta1/testdata/test-create-simple.golden +++ b/internal/namespaces/container/v1beta1/testdata/test-create-simple.golden @@ -44,5 +44,6 @@ Region fr-par "http_option": "enabled", "sandbox": "unknown_sandbox", "local_storage_limit": 0, + "scaling_option": null, "region": "fr-par" }