Skip to content

Commit eddf139

Browse files
authored
SKE Credentials Rotation: deprecate old commands improvements (#192)
* remove example cluster name from deprecation message * address comments
1 parent a3a693a commit eddf139

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

internal/cmd/ske/credentials/describe/describe.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func NewCmd() *cobra.Command {
3535
Deprecated: fmt.Sprintf("%s\n%s\n%s\n%s\n",
3636
"and will be removed in a future release.",
3737
"Please use the following command to obtain a kubeconfig file instead:",
38-
" $ stackit ske kubeconfig create my-cluster",
38+
" $ stackit ske kubeconfig create CLUSTER_NAME",
3939
"For more information, visit: https://docs.stackit.cloud/stackit/en/how-to-rotate-ske-credentials-200016334.html",
4040
),
4141
Example: examples.Build(

internal/cmd/ske/credentials/rotate/rotate.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ func NewCmd() *cobra.Command {
3535
Deprecated: fmt.Sprintf("%s\n%s\n%s\n%s\n%s\n",
3636
"and will be removed in a future release.",
3737
"Please use the 2-step credential rotation flow instead, by running the commands:",
38-
" $ stackit ske credentials start-rotation my-cluster",
39-
" $ stackit ske credentials complete-rotation my-cluster",
38+
" $ stackit ske credentials start-rotation CLUSTER_NAME",
39+
" $ stackit ske credentials complete-rotation CLUSTER_NAME",
4040
"For more information, visit: https://docs.stackit.cloud/stackit/en/how-to-rotate-ske-credentials-200016334.html",
4141
),
4242
Example: examples.Build(

0 commit comments

Comments
 (0)