Skip to content
Permalink
Branch: master
Commits on Aug 10, 2019
  1. fix typo in "Customizing colors" example (#166)

    EdVinyard authored and ahmetb committed Aug 10, 2019
Commits on Jul 15, 2019
  1. Add install instructions for MacPorts users (#159)

    breun authored and ahmetb committed Jul 15, 2019
Commits on May 22, 2019
  1. changed instructions for arch linux (#152)

    shibumi authored and ahmetb committed May 22, 2019
    I have pushed kubectx to the official repositories.
    Users can install it via `pacman` now :)
    
    Signed-off-by: Christian Rebischke <chris@nullday.de>
Commits on May 9, 2019
  1. Add shields.io badges

    ahmetb committed May 9, 2019
Commits on Apr 4, 2019
  1. kubectx rename check if old_name is a valid ctx (#139)

    ahmetb committed Apr 4, 2019
    Without this safeguard, when user runs `kubectx NEW_NAME=OLD_NAME` where
    NEW_NAME is an existing context but OLD_NAME isn't, we end up deleting NEW_NAME
    and not doing any renames (because OLD_NAME is not found).
    
    Fixes #136.
    
    Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
Commits on Feb 6, 2019
  1. Update README.md

    ahmetb committed Feb 6, 2019
Commits on Feb 4, 2019
  1. Fix alignment of kubectx help in USAGE text. (#129)

    tariq1890 authored and ahmetb committed Feb 4, 2019
Commits on Jan 30, 2019
  1. Fix typos in readme doc. (#126)

    tariq1890 authored and ahmetb committed Jan 30, 2019
    * Fix typos in readme doc.
    
    * fix typos
Commits on Jan 28, 2019
  1. v0.6.3

    ahmetb committed Jan 28, 2019
    - FIX: Show current context/ns color in interactive (fzf) mode. (#109)
    - TEST: Add integration tests for kubectx (#111, #113) and kubens (#105, #117)
    
    Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
Commits on Jan 13, 2019
  1. Remove --with-short-names from doc (#120)

    johnraz authored and ahmetb committed Jan 13, 2019
    First measure to avoid confusing people.
    see #112
Commits on Jan 3, 2019
  1. add cli tests for kubens (#117)

    doodlesbykumbi authored and ahmetb committed Jan 3, 2019
    * split bats test invocation by executable
    
    * add more cli tests for kubens
    
    * clean up kubens tests
    
    * small cleanup to kubens tests
Commits on Jan 2, 2019
  1. Add more cli tests for kubectx (#113)

    feloy authored and ahmetb committed Jan 2, 2019
Commits on Dec 29, 2018
  1. Show color in interactive mode (#109)

    ahmetb committed Dec 29, 2018
    This patch introduces an internal _KUBECTX_FORCE_COLOR environment variable
    that overrides color output decision.
    
    With this, fzf output shows the color indicators for ctx/ns and choosing the
    option with the color works without any extra handling.
    
    Fixes #89.
    Fixes #98.
Commits on Dec 25, 2018
  1. test: Add more kubectx tests (#111)

    feloy authored and ahmetb committed Dec 25, 2018
Commits on Dec 22, 2018
  1. test: enable travis-ci with bats (#108)

    ahmetb committed Dec 22, 2018
    - add .travis.yml.
    - move bats fixtures to .bats extension, since it allows detection of test
    files automatically by file extension.
    - use BATS_TEST_DIRNAME variable to compute location of COMMAND.
    - IMPORTANT: use `echo "$output">&2` before final check so that we can debug
      the test cases by their output
    
    Ref #2.
    
    Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
  2. README.md: add fish completion installation hint (#106)

    yurrriq authored and ahmetb committed Dec 21, 2018
    This should work for most users anyway.
Commits on Nov 26, 2018
  1. Release v0.6.2

    ahmetb committed Nov 26, 2018
  2. Check for kubectl.exe on Windows (#96)

    metcalfc authored and ahmetb committed Nov 26, 2018
    On the various flavors of bash for Windows kubectl won't resolve as the binary is kubectl.exe.
    Simple aliasing doesn't seem to work. So test for both otherwise fail with a not found error.
Commits on Nov 7, 2018
  1. fix subshell error handling (#95)

    sarcasticadmin authored and ahmetb committed Nov 7, 2018
    fixes #5
Commits on Oct 22, 2018
  1. Adding dependency checker for kubectx and kubens (#92)

    ahmetb committed Oct 22, 2018
    Ensure kubectl in PATH for kubectx and kubens.
Commits on Oct 20, 2018
Commits on Oct 17, 2018
  1. kubens: Fix typo in comment (#90)

    gmacario authored and ahmetb committed Oct 17, 2018
  2. Update README.md

    ahmetb committed Oct 17, 2018
  3. Add ga-beacon

    ahmetb committed Oct 17, 2018
Commits on Sep 17, 2018
  1. Added example of using bash completion (#86)

    tc-turner authored and ahmetb committed Sep 17, 2018
    Added example using bash completion.
    
    Example clones into `~/.kubectx` for people who don't want to make modifications outside of `$HOME`.
Commits on Sep 5, 2018
  1. README: fix typo in ln cmd for zsh comp

    ahmetb committed Sep 5, 2018
    Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
Commits on Sep 4, 2018
Commits on Aug 31, 2018
  1. zsh: fix kubectx completion for 2+ contexts (#81)

    ahmetb committed Aug 31, 2018
    fixes #68
    
    Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
  2. allow disabling interactive mode with fzf (#82)

    oliverisaac authored and ahmetb committed Aug 31, 2018
    Introduce KUBECTX_IGNORE_FZF for both kubectx/kubens to force-disable
    attempt to enable interactive mode and lookup for fzf(1).
Commits on Aug 24, 2018
  1. Release v0.6.1

    ahmetb committed Aug 24, 2018
    - 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)
  2. fix: --with-short-names not compatible with fzf (#79)

    ahmetb committed Aug 24, 2018
    When kubectx is installed as kctx, FZF_DEFAULT_COMMAND=kubectx won't work.
    
    Fixes #78.
    
    Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
Commits on Aug 23, 2018
  1. Release v0.6.0

    ahmetb committed Aug 23, 2018
    - 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)
Older
You can’t perform that action at this time.