Closed amrabdelshafi97 closed 1 month ago
This issue is currently awaiting triage.
SIG CLI takes a lead on issue triage for this repo, but any Kubernetes member can accept issues by applying the triage/accepted
label.
The triage/accepted
label can be added by org members by writing /triage accepted
in a comment.
Do you think this flag should be true by default instead? Is it something you are planning to do in the future?
Unfortunately it can't be true as it breaks all the scripts currently running successfully. We are planning to introduce a new preferences feature https://github.com/kubernetes/enhancements/issues/3104 and --interactive
flag can be set to true as default within this preferences file.
As this has already done, I'm closing this issue; /close
@ardaguclu: Closing this issue.
Description: To enhance safety and minimize human error, especially given recent incidents where a single delete command resulted in the deletion of all resources within a namespace, I propose the addition of a confirmation prompt following the execution of a delete command. This prompt should first display the resources that will be affected by running the equivalent
get
command and then ask the user to confirm whether they truly want to proceed with the deletion.Implementation Details:
Command Execution:
get
command to list the resources that match the delete criteria.Display Resources:
Confirmation Prompt:
Why This Is Needed: