Crates.io | kubectl-check |
lib.rs | kubectl-check |
version | 0.2440.0 |
source | src |
created_at | 2024-10-01 13:14:17.437804 |
updated_at | 2024-10-09 12:28:37.394133 |
description | A CLI tool to prompt users for confirmation before running potentially unsafe kubectl commands. |
homepage | https://github.com/BeLeap/kubectl-check |
repository | https://github.com/BeLeap/kubectl-check |
max_upload_size | |
id | 1392926 |
size | 128,792 |
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.
Download the binary from releases
Head over to the releases page to download the binary.
Using homebrew
brew tap beleap/tap
brew install beleap/tap/kubectl-check
Set alias
alias k="kubectl check"
Configure unsafe commands
Can be configured with KUBECTL_CHECK_UNSAFE
environment variable. Provide a comma-delimited string like edit,scale
.