kubectl-check

Crates.iokubectl-check
lib.rskubectl-check
version0.2440.0
sourcesrc
created_at2024-10-01 13:14:17.437804
updated_at2024-10-09 12:28:37.394133
descriptionA CLI tool to prompt users for confirmation before running potentially unsafe kubectl commands.
homepagehttps://github.com/BeLeap/kubectl-check
repositoryhttps://github.com/BeLeap/kubectl-check
max_upload_size
id1392926
size128,792
Changseo Jang (BeLeap)

documentation

README

kubectl-check

Example

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

    brew tap beleap/tap
    brew install beleap/tap/kubectl-check
    

Tips

  • 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.

    • Default unsafe commands can be found here.
Commit count: 84

cargo fmt