kubectl-check-0.2440.0 is not a library.
kubectl-check
A CLI tool to prompt users for confirmation before running potentially unsafe kubectl commands.
[!IMPORTANT] The prompt will be disabled if the command is excuted in non-interactive terminal.
Installation
-
Download the binary from releases
Head over to the releases page to download the binary.
-
Using homebrew
Tips
-
Set alias
-
Configure unsafe commands
Can be configured with
KUBECTL_CHECK_UNSAFE
environment variable. Provide a comma-delimited string likeedit,scale
.- Default unsafe commands can be found here.