Features:
- Experimental teleport support
- Add a
cronjobcommand to interact with k8s cronjobs - Add a
lastcommand to quickly show the last list of objects returned
Updates:
- Large clap version update
Features:
- Allow setting the path to the kubectl binary that click uses via
set kubectl_binary <path> - Print the full path the kubectl binary in
env
Bug Fixes:
- Don't panic if an "azure-auth-provider" doesn't include
expires-by
Bugfix release:
- Reqwest on osx seems to not support parsing multiple certs in one string, so we split them up and add them to the reqwest client one at a time
Features:
- Migrate to k8s-openapi
- This enabled a migration to reqwest and dropping of the old un-maintained http clients previously in use
- Update to Rust 2021 edition
- Add a
cpcommand to copy files to/from a pod - Add a
daemonsetscommand - ADd a
persistentvolumescommand - Forward environment variables to exec'd commands (Thanks @wchau)
- All objects have a basic describe for (at least) their metadata
- Support azure and oidc auth providers (beta)
podscommand can show last restart time of a pod- Migrate to comfy-table since prettytable is no longer maintained
- As a result wide tables should render much more pleasantly
describealso shows events- Add support to show CRDs (see
help crd)
Bug Fixes:
- Tab completion works for most arguments
exechandles multi-argument commands properly- Events sort properly in time order
- Contexts complete in alphabetical order (thanks @markj-db)
eventscommand returns events in order (based on time)- Switch to github actions instead of travis CI
- Fix hyper-rust-tls version issue (thanks @schuermannator)
eventsnow deals with fields that can be missing
- Fix issues #140 (invalid default timeouts) and #141 (Poor experience when kubectl isn't in path)
- Switch to call kubectl exec with
--before the command since the old way is deprecated
Small bugfix release, fixing issue with delete
This release includes two major new features, ranges and an --exec command. It also has lots of small fixes and cleanup.
Features:
- Ranges: Type
help rangesat the prompt for details. In a nutshell, you can now select multiple objects at once and operate on all of them. --execcan now be passed to run a one off command (useful for using click in scripts)- The kubernetes "exec-provider" style config is now fully supported, which should fix a number of authentication issues.
Bug fixes:
- Set timeouts properly for all requests (especially for logs)
Cleanup:
- cargo fmt
- lots of small changes for new compiler+clippy lints
- Adding unit tests
- Update lots of dependent crates
Bug Fixes:
- Update to compile with new duct
- The update of rustyline fixes a problem where Click would exit if you typed anything while a network request was processing
Changes:
- Exit when typing Ctrl-D
Bug Fixes:
- Don't crash if
contextcommand is called with no arguments and there's a context with no cluster - Update rustyline version so it actually compiles
Cleanup:
- Move config module into its own dir
- Update duct so things compile properly
Bug Fixes:
- Handle minikube certs by working around webpki's lack of support for IpAddress SANS
This is a fairly substantial release, and includes a number of enhancements and bug fixes. Some of the more notable ones are listed below.
Feature enhancements:
- Add an
aliascommand, which works similarly to a bash alias. Seehelp alias - The
pods,services,deployments, andnodescommands support outputting the list in a sorted manner via a-s/--sortflag. See the help for each command for details - The
podscommand can now show the node each pod is on via-n/--show-node describecan now output yaml with -y/--yaml- Readline style completion. See
help completion - Completion support for options.
[command] --<TAB>will complete - Support for Emacs or Vi style editing. See
help edit_mode - Support for Jobs
- Support for StatefulSets
- Support multiple files in
KUBECONFIGsimilarly to kubectl
Bug Fixes and Updated Libraries:
- click.config is written more often and safely to prevent unexpected loss of aliases or context changes
rustyline-> 0.3.0: this allows a much richer command line interaction. seehelp edit_modeandhelp completiondir: move away from deprecatedstd::envfor getting home directoryhyper-sync-rustls: updatesuntrused, which had a security vulnerability (see Issue #66)
Feature enhancements:
ctxwith no args prints all contextslogson a pod with a single container defaults to that container- show token in secret description
- Support for gke authentication
- support insecure_skip_tls_verify in config
- use KUBECONFIG environment variable to identify config file
Bug Fixes:
logscommand now works for clusters using an IP address- remove a number of unwraps that could cause unhelpful panics
Feature enhancements:
- Support for ConfigMaps
- Support describe Secrets
- -e option for opening
logsin an editor - Support
deleteon more items - Option to run
execin a new terminal - Support username/password login
First public release