Commit Graph

  • e5a09017d0 Unify errors from kubeconfig.Parse Ahmet Alp Balkan 2020-04-12 16:20:34 -07:00
  • 37ba52f357 Extract env vars to a file + test Ahmet Alp Balkan 2020-04-12 16:15:17 -07:00
  • 91e00f9867 Support for fzf, color ignore/force knobs Ahmet Alp Balkan 2020-04-12 15:59:48 -07:00
  • 17f6ffe73b Move all yaml logic to pkg/kubeconfig Ahmet Alp Balkan 2020-04-12 14:22:52 -07:00
  • fb5e8bc904 Move ctx-related YAML parse methods to pkg Ahmet Alp Balkan 2020-04-12 13:46:14 -07:00
  • 1313d98f57 Use kubeconfig pkg for parsing utils Ahmet Alp Balkan 2020-04-12 13:17:08 -07:00
  • 94664bcaf9 kubeconfig pkg for loading/parsing Ahmet Alp Balkan 2020-04-12 12:59:20 -07:00
  • 21d0a6aeeb add printSuccess, pass writers to print funcs Ahmet Alp Balkan 2020-04-12 12:37:04 -07:00
  • 7c2cf62cf0 define Run(stdout,stderr) method on **Ops Ahmet Alp Balkan 2020-04-12 12:29:08 -07:00
  • 68ea776826 add some TODOs Ahmet Alp Balkan 2020-04-10 16:41:21 -07:00
  • 37441b648f Fix bugs for test pass, update tests Ahmet Alp Balkan 2020-04-10 16:22:43 -07:00
  • 8ce95d4a00 Add support for renaming contexts Ahmet Alp Balkan 2020-04-10 16:11:38 -07:00
  • 5ec2f4f032 Support for -d (deleting contexts) Ahmet Alp Balkan 2020-04-10 15:38:50 -07:00
  • 32d65fc527 Add support for -u/--unset Ahmet Alp Balkan 2020-04-10 15:04:31 -07:00
  • c5696a46b7 Add support for -c/--current Ahmet Alp Balkan 2020-04-10 14:50:14 -07:00
  • 5f40b12a4e Integrate ctx swap, check for wrong ctx names Ahmet Alp Balkan 2020-04-10 14:41:57 -07:00
  • 74a30a60e0 Save last context name in state file Ahmet Alp Balkan 2020-04-10 14:27:52 -07:00
  • 7a40a5ed07 Add utils for r/w ~/.kube/kubectx file Ahmet Alp Balkan 2020-04-10 14:25:00 -07:00
  • a9476f3215 Implement switch via editing yaml in-place Ahmet Alp Balkan 2020-04-10 14:07:12 -07:00
  • 04e963c02c Implement context listing Ahmet Alp Balkan 2020-04-10 13:21:52 -07:00
  • da08491f0b Implement facilities to parse kubeconfig file Ahmet Alp Balkan 2020-04-10 13:02:00 -07:00
  • 7c2f8ffa75 Add logic to determine kubeconfig path Ahmet Alp Balkan 2020-04-10 12:34:31 -07:00
  • d2267aa60c Support help op, add color to error Ahmet Alp Balkan 2020-04-10 12:07:58 -07:00
  • 1b2fc5961a Handle supported operation in main Ahmet Alp Balkan 2020-04-10 12:00:12 -07:00
  • 68a8276146 Start porting to Go: parse flags Ahmet Alp Balkan 2020-04-10 11:54:01 -07:00
  • d0c9679d85 Update README.md Ahmet Alp Balkan 2020-04-07 14:30:29 -07:00
  • e388bfa616 Remove ubuntu indication from install guide Ahmet Alp Balkan 2020-04-07 14:28:24 -07:00
  • db8b706612 Update README about fzf and Unix composability (#197) Sébastien Maintrot 2020-03-08 18:24:24 +01:00
  • 06289683dd use v0.0.37 of krew-release-bot (#196) Rajat Jindal 2020-02-29 22:21:38 +05:30
  • d3295e5b7a Release v0.8.0 v0.8.0 Ahmet Alp Balkan 2020-02-20 15:12:06 -08:00
  • 3369d42e2d add unset flag (#187) rob salmond 2020-02-04 10:39:47 -07:00
  • f48c4198e7 Add krew-release-bot support (#189) Rajat Jindal 2020-01-23 01:00:36 +05:30
  • 26d3422917 Install option as a kubectl plugin (#182) Ahmet Alp Balkan 2019-11-11 11:19:34 -08:00
  • 56e30d2b43 Detect invocation style only in usage() (#183) Ahmet Alp Balkan 2019-11-11 11:15:48 -08:00
  • dcb43fdf1b Release v0.7.1 v0.7.1 Ahmet Alp Balkan 2019-11-09 16:46:53 -08:00
  • e2f7dc0de2 Print plugin-friendly usage string Ahmet Alp Balkan 2019-11-09 16:46:27 -08:00
  • 9645e5c62c Add zsh completion for kubectx subcommand (-d) (#178) Pedro Rodrigues 2019-10-24 19:25:31 -03:00
  • 00a1e12bfb Disable preview when fuzzy-finding (#163) Oliver Ford 2019-10-11 17:14:32 +01:00
  • c3dd1e5deb Add missing instruction for zsh on Linux (#173) Eugene Aseev 2019-09-09 23:13:33 +08:00
  • a21638226f Release v0.7.0 v0.7.0 Ahmet Alp Balkan 2019-08-30 11:50:15 -07:00
  • 28e7c12f51 Introduce -c/--current options for kubectx/kubens (#171) Ahmet Alp Balkan 2019-08-30 11:49:49 -07:00
  • 1652420a15 Enable shellcheck and fix issues (#170) ferhat elmas 2019-08-25 21:05:01 +02:00
  • 543e035090 fix typo in "Customizing colors" example (#166) Ed Vinyard 2019-08-10 13:28:51 -05:00
  • a5e810b837 Add install instructions for MacPorts users (#159) Nils Breunese 2019-07-15 19:29:52 +02:00
  • 62f3f27889 changed instructions for arch linux (#152) Christian Rebischke 2019-05-22 17:01:08 +02:00
  • 4258f03446 Add shields.io badges Ahmet Alp Balkan 2019-05-08 19:39:34 -07:00
  • b9614bd2e0 kubectx rename check if old_name is a valid ctx (#139) Ahmet Alp Balkan 2019-04-04 08:59:51 -07:00
  • b3732b309e Update README.md Ahmet Alp Balkan 2019-02-06 10:20:55 -08:00
  • a1bce92cc8 Fix alignment of kubectx help in USAGE text. (#129) Tariq Ibrahim 2019-02-04 14:21:45 -08:00
  • 1356c37cc0 Fix typos in readme doc. (#126) Tariq Ibrahim 2019-01-30 12:20:37 -08:00
  • 10c9bd58ca v0.6.3 v0.6.3 Ahmet Alp Balkan 2019-01-28 10:11:52 -08:00
  • b6e918b084 Remove --with-short-names from doc (#120) Jonathan Liuti 2019-01-13 23:56:24 +01:00
  • 402cc2c4b9 add cli tests for kubens (#117) Kumbirai Tanekha 2019-01-03 18:06:13 +00:00
  • df557e4fa7 Add more cli tests for kubectx (#113) Philippe MARTIN 2019-01-02 18:47:01 +01:00
  • b584d14f90 Show color in interactive mode (#109) Ahmet Alp Balkan 2018-12-29 11:05:00 -08:00
  • acbf324464 test: Add more kubectx tests (#111) Philippe MARTIN 2018-12-25 20:38:45 +01:00
  • 845f3b690b test: enable travis-ci with bats (#108) Ahmet Alp Balkan 2018-12-22 13:22:08 -08:00
  • 2b5bf4e429 Add simple tests for kubectx/kubens -h/--help (#105) Philippe MARTIN 2018-12-22 22:02:20 +01:00
  • 4a7d7cf025 README.md: add fish completion installation hint (#106) Eric Bailey 2018-12-21 15:02:53 -06:00
  • dfeb7df363 Release v0.6.2 v0.6.2 Ahmet Alp Balkan 2018-11-26 12:23:47 -08:00
  • 407a84ce9e Support XDG_CACHE_HOME environment variable (#93) Rafael Bodill 2018-11-26 22:21:43 +02:00
  • ec994aff89 Check for kubectl.exe on Windows (#96) Chad Metcalf 2018-11-26 12:21:21 -08:00
  • 3aeb4e76d2 fix subshell error handling (#95) Robert James Hernandez 2018-11-07 09:27:34 -08:00
  • 517dae9fc8 Adding dependency checker for kubectx and kubens (#92) Ahmet Alp Balkan 2018-10-22 10:10:08 -07:00
  • 083e56f221 Ensure kubectl in PATH for kubens Robert James Hernandez 2018-10-19 22:20:16 -07:00
  • 6c94248e98 Ensure kubectl in PATH for kubectx Robert James Hernandez 2018-10-19 22:20:03 -07:00
  • 244dd5b8a5 kubens: Fix typo in comment (#90) Gianpaolo Macario 2018-10-17 18:04:46 +02:00
  • 121f15d1d3 Update README.md Ahmet Alp Balkan 2018-10-16 20:15:36 -07:00
  • 21a1e1e963 Add ga-beacon Ahmet Alp Balkan 2018-10-16 20:15:01 -07:00
  • 6811a5f03c Added example of using bash completion (#86) Mitchell Turner 2018-09-17 02:31:35 -04:00
  • 41296a5fcf README: fix typo in ln cmd for zsh comp Ahmet Alp Balkan 2018-09-05 15:26:17 -07:00
  • 34a9e100c8 README: Install completion for zsh & Linux (#80) schnatterer 2018-09-05 00:59:34 +02:00
  • 365fa23d87 zsh: fix kubectx completion for 2+ contexts (#81) Ahmet Alp Balkan 2018-08-31 15:40:26 -07:00
  • ccc077b6c5 allow disabling interactive mode with fzf (#82) Oliver 2018-08-31 17:39:43 -05:00
  • d931779c0c Release v0.6.1 v0.6.1 Ahmet Alp Balkan 2018-08-24 09:28:10 -07:00
  • f01719a5a6 fix: --with-short-names not compatible with fzf (#79) Ahmet Alp Balkan 2018-08-24 09:28:00 -07:00
  • 46d593305a Release v0.6.0 v0.6.0 Ahmet Alp Balkan 2018-08-23 10:19:12 -07:00
  • 595c27ada7 fix: ignored args while deleting multiple clusters (#76) Ahmet Alp Balkan 2018-08-23 10:17:42 -07:00
  • 8df92316d6 add support for interactive selection with fzf (#74) Ahmet Alp Balkan 2018-08-22 10:08:13 -07:00
  • 7b23263fc2 ignore errors from tput (to fix TERM=vt100) (#73) Ahmet Alp Balkan 2018-08-22 09:50:34 -07:00
  • e368d13eea help exit status 0 (#72) Vít Listík 2018-08-20 02:40:47 +03:00
  • 7bc9a1277c Release v0.5.1 v0.5.1 Ahmet Alp Balkan 2018-08-06 12:21:18 -07:00
  • bc46739ab5 add note about NO_COLOR Ahmet Alp Balkan 2018-08-06 12:20:51 -07:00
  • 5a1366b7c9 Merge pull request #64 from idvoretskyi/patch-1 Ahmet Alp Balkan 2018-07-19 20:04:13 -07:00
  • 5144c0f958 Debian releases information added Ihor Dvoretskyi 2018-07-19 23:03:25 +00:00
  • 11336883cb Debian releases information added Ihor Dvoretskyi 2018-07-19 23:00:17 +00:00
  • b1324570ad Debian releases information added Ihor Dvoretskyi 2018-07-19 22:58:08 +00:00
  • 5f4160766d Debian package installation information added Ihor Dvoretskyi 2018-07-18 22:53:09 +03:00
  • c606382a62 Respect $NO_COLOR Ahmet Alp Balkan 2018-06-10 14:15:44 -07:00
  • 428fb0045c Merge pull request #53 from prabhu43/master Ahmet Alp Balkan 2018-06-07 12:27:45 -07:00
  • a97ab8367d Update Readme Prabhu Jayakumar 2018-06-08 00:35:45 +05:30
  • 9beb1a1587 Configure highlight color for current context & namespace using environment variable Prabhu Jayakumar 2018-05-30 01:07:39 +05:30
  • c23c2a9e29 Revert "Use * to indicate current context & current namespace" Prabhu Jayakumar 2018-05-30 00:32:23 +05:30
  • dad48e5397 Use * to indicate current context & current namespace Prabhu Jayakumar 2018-05-28 23:03:03 +05:30
  • e9fbafc923 Merge pull request #46 from uesteibar/delete-multiple-contexts Ahmet Alp Balkan 2018-05-25 11:06:09 -07:00
  • b7af607a91 Merge pull request #48 from xnaveira/portable Ahmet Alp Balkan 2018-05-23 09:26:23 -07:00
  • bcb89389c6 Make the scripts portable Xavier Naveira 2018-05-23 16:10:15 +02:00
  • 4a1d73d5fe Allow deleting multiple contexts at once uesteibar 2018-05-18 15:46:05 +02:00
  • f986c148b2 Merge pull request #44 from fiws/patch-1 Ahmet Alp Balkan 2018-04-28 16:35:13 -07:00
  • 2799a9e331 Fix indentation to 80 chars, make title Arch Linux Ahmet Alp Balkan 2018-04-28 16:34:57 -07:00