Skip to content

About

A CLI tool to prompt users for confirmation before running potentially unsafe kubectl commands.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

 

History

94 Commits

Folders and files

Repository files navigation

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.

About

A CLI tool to prompt users for confirmation before running potentially unsafe kubectl commands.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages