kubectx

Faster way to switch between clusters and namespaces in kubectl

APACHE-2.0 License

Downloads
3.3K
Stars
17K
Committers
62

Bot releases are hidden (Show)

kubectx - v0.7.1

Published by ahmetb almost 5 years ago

  • FIX: fzf is now called with --no-preview option to prevent the preview pane from showing up (#163)
  • FEATURE: zsh completion for context names while deleting (kubectx -d) (#178)
  • IMPROVED: friendly --help strings when executed as a kubectl plugin (kubectl ctx and kubectl ns)
kubectx - v0.7.0

Published by ahmetb about 5 years ago

  • FEATURE: Introduced -c/--current flag to print current context or namespace.
  • FIX: kubectx rename functionality now checks if the context with the OLD_NAME exists before deleting the context with specified NEW_NAME for overwriting.
kubectx - v0.6.3

Published by ahmetb over 5 years ago

  • FIX: Show current context/ns color in interactive (fzf) mode. (#109)
  • TEST: Add integration tests for kubectx (#111, #113) and kubens (#105, #117)
kubectx - v0.6.2

Published by ahmetb almost 6 years ago

  • FEATURE: use XDG_CACHE_HOME to store data instead of $HOME/.kube if available
    (#93)
  • FEATURE: introduce KUBECTX_IGNORE_FZF variable to override interactive mode
    when fzf is detected (#82)
  • FIX: support Windows Subsystem for Linux (WSL) by detecting kubectx.exe in
    PATH when kubectl is not (#96)
  • FIX: zsh completion script glitch that printed only two contexts (#81)
  • IMPROVED: print errors when kubectl[.exe] is not detected in PATH (#92)
  • IMPROVED: better error handling when executed subcommands (like kubectl) fail
    (#95)
kubectx - v0.6.1

Published by ahmetb about 6 years ago

  • FIX: fix crash when kubectx/kubens is installed --with-short-names and fzf(1)
    is in PATH, but calling the binaries with the wrong name. (#78)
kubectx - v0.6.0

Published by ahmetb about 6 years ago

  • FEATURE: interactive search mode when kubectx and kubens are ran without any
    arguments and fzf(1) is detected in PATH. (#71, #74)
  • FIX: kubectx -d now doesn't ignore arguments after the first argument. (#75)
  • FIX: empty output bug when TERM=vt100 even though NO_COLOR is set. (#57, #73)
  • FIX: --help exits with code 0 now. (#69, #72)
kubectx - v0.5.1

Published by ahmetb about 6 years ago

  • FEATURE: deleting multiple contexts at once with -d
  • FEATURE: customizing colors with KUBECTX_CURRENT_FGCOLOR and KUBECTX_CURRENT_BGCOLOR environment variables.
  • FEATURE: disabling colors in output with NO_COLOR environment variable or for non-tty output descriptors.
kubectx - v0.5.0

Published by ahmetb over 6 years ago

  • SECURITY FIX: An issue that made it possible to do arbitrary code execution
    through kubens is fixed. A carefully crafted kubeconfig file that contains a
    context name with a slash (/) character and a crafted "namespace" field
    could cause any writable file to be replaced with arbitrary contents set in,
    the "namespace" field, leading to arbitrary code execution when used to
    replace contents of executable files.

    Since kubectx/kubens are not used in any production systems, this does not
    warrant a CVE. Please upgrade your kubens to use the patched version.

    This is fixed in #37 by @jvassev. See the issue for more information.

  • FEATURE: Renaming context will now overwrite if the specified name already
    exists, through deleting the existing context entry in kubeconfig. (#25)

  • FEATURE: Deleting context entries in kubeconfig with "kubectx -d NAME" ('.'
    for current). This only deletes the context entry and does not touch 'users'
    and 'clusters' keys in kubeconfig (and therefore might leak those entries).
    Use this only if you do not care about the extra values in your kubeconfig.
    (#23, #38)

kubectx - v0.4.1

Published by ahmetb over 6 years ago

  • Removed utils.bash: kubectx and kubens can now be used as standalone.
    • This is a breaking change for the installation scripts.
  • Added fish shell completion support.
kubectx - v0.4.0

Published by ahmetb almost 7 years ago

  • Breaking change: kubectx A=B now does a rename instead of
    creating an alias of the context.
kubectx - v0.3.1

Published by ahmetb almost 7 years ago

  • Fix: readlink issue on macOS.
kubectx - v0.2.0

Published by ahmetb over 7 years ago

  • Add zsh completion script for kubectx command
  • Add Homebrew formula hosted in a custom tap
kubectx -

Published by ahmetb over 7 years ago

kubectx -

Published by ahmetb over 7 years ago