Commit Graph

  • 3c6fa48260 Implement context listing Ahmet Alp Balkan 2020-04-10 13:21:52 -07:00
  • b1afdbf375 Implement facilities to parse kubeconfig file Ahmet Alp Balkan 2020-04-10 13:02:00 -07:00
  • 3fdc1855c0 Add logic to determine kubeconfig path Ahmet Alp Balkan 2020-04-10 12:34:31 -07:00
  • df8957403c Support help op, add color to error Ahmet Alp Balkan 2020-04-10 12:07:58 -07:00
  • eee1c23654 Handle supported operation in main Ahmet Alp Balkan 2020-04-10 12:00:12 -07:00
  • 6c9273e582 Start porting to Go: parse flags Ahmet Alp Balkan 2020-04-10 11:54:01 -07:00
  • b51befee82 kubens add a short-circuit to bypass API call for tests go-rewrite Ahmet Alp Balkan 2020-04-29 12:52:08 -07:00
  • be3e5b2d61 ns list: increase page size to 500 Ahmet Alp Balkan 2020-04-29 12:43:07 -07:00
  • cf41febf16 Load namespaces using client-go Ahmet Alp Balkan 2020-04-29 12:32:29 -07:00
  • 27a902174f fix compile error Ahmet Alp Balkan 2020-04-29 12:16:26 -07:00
  • 84676b7062 deprecation msgs for KUBECTX_CURRENT_{BG,FG}COLOR Ahmet Alp Balkan 2020-04-29 12:11:59 -07:00
  • 64e5a0ed13 Add interactive switching to kubens Ahmet Alp Balkan 2020-04-29 11:55:28 -07:00
  • ebfd724d08 Fix bug about where cur ns was stored in yaml Ahmet Alp Balkan 2020-04-18 16:17:47 -07:00
  • 25833eaa29 kubens: implement namespace switching Ahmet Alp Balkan 2020-04-18 16:10:34 -07:00
  • 99b593be90 kubens: Add facility to store state file Ahmet Alp Balkan 2020-04-18 14:26:38 -07:00
  • d0c352c5bf Implement list (via exec kubectl), clearer color settings Ahmet Alp Balkan 2020-04-18 14:05:32 -07:00
  • 3e34177cb9 Move kubeconfig loader utils to cmdutil pkg Ahmet Alp Balkan 2020-04-18 13:32:53 -07:00
  • d4112ce088 kubens: Start implementing stubs Ahmet Alp Balkan 2020-04-18 13:09:59 -07:00
  • 37c765684f feat(completion): Improve kubens fish completions (#204) drorlevywork 2020-04-18 00:30:17 +09:00
  • 56f3370d36 Create test utils for crafting kubeconfig strings Ahmet Alp Balkan 2020-04-16 21:37:29 -07:00
  • 7b96a338a3 extract kubeconfig test utils to a type Ahmet Alp Balkan 2020-04-16 21:00:00 -07:00
  • 49539fbcb3 do not fail on non-existing kubeconfig files Ahmet Alp Balkan 2020-04-16 19:55:34 -07:00
  • 10f53bb15b Better success msgs, handle -d without args Ahmet Alp Balkan 2020-04-12 23:06:17 -07:00
  • 0ebccceeab Tidy up colors, help msgs, TODOs Ahmet Alp Balkan 2020-04-12 22:51:48 -07:00
  • 57f2bb1eb4 Create printer pkg, fix color force enable/disable Ahmet Alp Balkan 2020-04-12 22:30:10 -07:00
  • 0ab135af99 Move kubeconfig utility to a shared pkg Ahmet Alp Balkan 2020-04-12 18:19:38 -07:00
  • 73c1f268ee Extend test coverage Ahmet Alp Balkan 2020-04-12 18:17:03 -07:00
  • 562631ad2b Fix UnsupportedOp tests through custom comparer Ahmet Alp Balkan 2020-04-12 18:03:06 -07:00
  • 077d8a829d Re-introduce DEBUG env var stack traces Ahmet Alp Balkan 2020-04-12 17:57:27 -07:00
  • 195e6315da Update tests for homeDir and kubeconfigPath() Ahmet Alp Balkan 2020-04-12 17:53:09 -07:00
  • 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