Skip to content

Commit 93b18f2

Browse files
authored
docs(k8s): add note (#3351)
1 parent 97b935e commit 93b18f2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cmd/scw/testdata/test-all-usage-k8s-cluster-set-type-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3-
Change the type of a specific Kubernetes cluster.
3+
Change the type of a specific Kubernetes cluster. To see the possible values you can enter for the `type` field, [list available cluster types](#path-clusters-list-available-cluster-types-for-a-cluster).
44

55
USAGE:
66
scw k8s cluster set-type <cluster-id ...> [arg=value ...]

docs/commands/k8s.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ scw k8s cluster reset-admin-token 11111111-1111-1111-111111111111
366366

367367
### Change the Cluster type
368368

369-
Change the type of a specific Kubernetes cluster.
369+
Change the type of a specific Kubernetes cluster. To see the possible values you can enter for the `type` field, [list available cluster types](#path-clusters-list-available-cluster-types-for-a-cluster).
370370

371371
**Usage:**
372372

internal/namespaces/k8s/v1/k8s_cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1005,7 +1005,7 @@ func k8sClusterUpgrade() *core.Command {
10051005
func k8sClusterSetType() *core.Command {
10061006
return &core.Command{
10071007
Short: `Change the Cluster type`,
1008-
Long: `Change the type of a specific Kubernetes cluster.`,
1008+
Long: `Change the type of a specific Kubernetes cluster. To see the possible values you can enter for the ` + "`" + `type` + "`" + ` field, [list available cluster types](#path-clusters-list-available-cluster-types-for-a-cluster).`,
10091009
Namespace: "k8s",
10101010
Resource: "cluster",
10111011
Verb: "set-type",

0 commit comments

Comments
 (0)