Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--yes-i-really-mean-it has no effect when trying to delete a cluster #322

Open
TLINDEN opened this issue Oct 10, 2024 · 3 comments
Open

Comments

@TLINDEN
Copy link

TLINDEN commented Oct 10, 2024

You'll be asked for the first and last part of the uid anyway:

cloudctl cluster delete --yes-i-really-mean-it 315b4a7b-9658-4924-be52-badf4c9d508a
UID                                     TENANT  PROJECT                                 NAME            VERSION         PARTITION       OPERATION       PROGRESS                API     CONTROL NODES   SYSTEM  SIZE    AGE            PURPOSE 
315b4a7b-9658-4924-be52-badf4c9d508a    *****   ******    *********      1.24.17↑        ******      Succeeded       100% [Reconcile]        True    True    True    True    1≤1≤1   231d 18h       prod   
Please answer some security questions to delete this cluster
first part of clusterID:
@majst01
Copy link
Collaborator

majst01 commented Oct 10, 2024

This is intentional !

@TLINDEN
Copy link
Author

TLINDEN commented Oct 10, 2024

Then the parameter --yes-i-really-mean-it should not be supported by the delete subcommand.

@majst01
Copy link
Collaborator

majst01 commented Oct 10, 2024

Then the parameter --yes-i-really-mean-it should not be supported by the delete subcommand.

With viper/cobra it is not easily possible to hide certain global flags in subcommands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants