Commit Graph

  • 1e49c336fc Add license headers for 2021 Ahmet Alp Balkan 2020-12-29 13:38:42 -08:00
  • 8c323c5653 Fix color in kubens success message when using fzf (#228) Jason Harmon 2020-11-16 12:01:28 -05:00
  • 9527e308e5 make kubectx consistent with kubens wrt. KUBECTL environment variable (#274) Chris Stefano 2020-11-14 00:09:28 +00:00
  • 8241576f28 fix: improve kubectx completion on fish (#269) Carlos Alexandro Becker 2020-11-02 02:45:40 -03:00
  • 5aba9fa311 Add Homebrew install for Linux (#261) Justin Garrison 2020-09-25 14:37:59 -07:00
  • a8a63da51c Bump CI to Go 1.15 (#266) Gábor Lipták 2020-09-25 16:25:03 -04:00
  • 8c8aeada3d Correct build badge in README (#265) Gábor Lipták 2020-09-25 16:24:51 -04:00
  • ab50545ecd Bump CI release to Go 1.15 (#267) Gábor Lipták 2020-09-25 16:24:25 -04:00
  • 51c61b862d Add ppc64le build Ahmet Alp Balkan 2020-07-08 11:36:58 -07:00
  • 09f31d96e4 Release v0.9.1 v0.9.1 Ahmet Alp Balkan 2020-06-30 13:02:11 -07:00
  • 0813c314c6 Add krew release bot back (#245) Rajat Jindal 2020-06-22 23:07:07 +05:30
  • 1db00a20d9 Structural refactoring for multiple kubeconfig support (#219) Sedat Gökcen 2020-06-02 22:04:13 +02:00
  • 170233bffd query namespace exists with GET Namespace (#236) Ahmet Alp Balkan 2020-05-31 15:32:44 -07:00
  • cd1849d8df query namespace exists with GET Namespace better-ns-exists-check Ahmet Alp Balkan 2020-05-31 14:36:28 -07:00
  • 0141ee19d2 handle ctxs with ':' in the name for windows (#235) Ahmet Alp Balkan 2020-05-31 14:24:01 -07:00
  • 401188fefd Fix color output on Windows (#220) Jason Harmon 2020-05-15 18:26:00 -04:00
  • 01bd237baa Release for arm64 (armv8) and armhf (armv6), armv7 (#217) Ahmet Alp Balkan 2020-05-04 14:56:20 -07:00
  • 956d5953c2 kubens: fix interactive switch messages Ahmet Alp Balkan 2020-04-30 07:35:49 -07:00
  • 4425628f91 Remove changelog Ahmet Alp Balkan 2020-04-29 13:57:10 -07:00
  • f2021bb08b changed help in kubens, return had a typo (#210) Curro Rodriguez 2020-04-30 16:34:06 +02:00
  • d603c7dada Release v0.9.0 v0.9.0 Ahmet Alp Balkan 2020-04-29 13:52:03 -07:00
  • ba79bdb0f8 Update readme to talk about Go rewrite Ahmet Alp Balkan 2020-04-29 13:50:10 -07:00
  • fc21b8c522 Update readme, update bats setup Ahmet Alp Balkan 2020-04-29 13:45:40 -07:00
  • e5024778a9 Add integration tests to CI workflow Ahmet Alp Balkan 2020-04-29 13:40:11 -07:00
  • d669862436 Update CI workflow name Ahmet Alp Balkan 2020-04-29 13:30:55 -07:00
  • 7f3f0699b3 Extend CI workflow with gofmt Ahmet Alp Balkan 2020-04-29 13:26:41 -07:00
  • 3c9c44842c Extend CI workflow by adding tests Ahmet Alp Balkan 2020-04-29 13:22:42 -07:00
  • 0491ac552e Add goreleaser and github workflows Ahmet Alp Balkan 2020-04-29 13:18:14 -07:00
  • 5348d7aa7e kubens add a short-circuit to bypass API call for tests Ahmet Alp Balkan 2020-04-29 12:52:08 -07:00
  • 04689f571e ns list: increase page size to 500 Ahmet Alp Balkan 2020-04-29 12:43:07 -07:00
  • 1881107d55 Load namespaces using client-go Ahmet Alp Balkan 2020-04-29 12:32:29 -07:00
  • 52bbf5c786 fix compile error Ahmet Alp Balkan 2020-04-29 12:16:26 -07:00
  • 4bbe0fad79 deprecation msgs for KUBECTX_CURRENT_{BG,FG}COLOR Ahmet Alp Balkan 2020-04-29 12:11:59 -07:00
  • 5b745727c3 Add interactive switching to kubens Ahmet Alp Balkan 2020-04-29 11:55:28 -07:00
  • fc2e1c6b08 Fix bug about where cur ns was stored in yaml Ahmet Alp Balkan 2020-04-18 16:17:47 -07:00
  • 2915103e3d kubens: implement namespace switching Ahmet Alp Balkan 2020-04-18 16:10:34 -07:00
  • 6c3977d574 kubens: Add facility to store state file Ahmet Alp Balkan 2020-04-18 14:26:38 -07:00
  • de2867a622 Implement list (via exec kubectl), clearer color settings Ahmet Alp Balkan 2020-04-18 14:05:32 -07:00
  • c4252b5795 Move kubeconfig loader utils to cmdutil pkg Ahmet Alp Balkan 2020-04-18 13:32:53 -07:00
  • 1982becb15 kubens: Start implementing stubs Ahmet Alp Balkan 2020-04-18 13:09:59 -07:00
  • 342d21683b Create test utils for crafting kubeconfig strings Ahmet Alp Balkan 2020-04-16 21:37:29 -07:00
  • 62d8dad7d5 extract kubeconfig test utils to a type Ahmet Alp Balkan 2020-04-16 21:00:00 -07:00
  • 68b842f39b do not fail on non-existing kubeconfig files Ahmet Alp Balkan 2020-04-16 19:55:34 -07:00
  • 0e50f15393 Better success msgs, handle -d without args Ahmet Alp Balkan 2020-04-12 23:06:17 -07:00
  • f4f558004a Tidy up colors, help msgs, TODOs Ahmet Alp Balkan 2020-04-12 22:51:48 -07:00
  • 7598c4d4dd Create printer pkg, fix color force enable/disable Ahmet Alp Balkan 2020-04-12 22:30:10 -07:00
  • bef0a4cca7 Move kubeconfig utility to a shared pkg Ahmet Alp Balkan 2020-04-12 18:19:38 -07:00
  • d5546f062d Extend test coverage Ahmet Alp Balkan 2020-04-12 18:17:03 -07:00
  • bf5b715798 Fix UnsupportedOp tests through custom comparer Ahmet Alp Balkan 2020-04-12 18:03:06 -07:00
  • a01db6ecde Re-introduce DEBUG env var stack traces Ahmet Alp Balkan 2020-04-12 17:57:27 -07:00
  • 280fcec765 Update tests for homeDir and kubeconfigPath() Ahmet Alp Balkan 2020-04-12 17:53:09 -07:00
  • c82e299daa Unify errors from kubeconfig.Parse Ahmet Alp Balkan 2020-04-12 16:20:34 -07:00
  • 5aaccdf801 Extract env vars to a file + test Ahmet Alp Balkan 2020-04-12 16:15:17 -07:00
  • 936964dde5 Support for fzf, color ignore/force knobs Ahmet Alp Balkan 2020-04-12 15:59:48 -07:00
  • 1f4eed962a Move all yaml logic to pkg/kubeconfig Ahmet Alp Balkan 2020-04-12 14:22:52 -07:00
  • 492e3e7053 Move ctx-related YAML parse methods to pkg Ahmet Alp Balkan 2020-04-12 13:46:14 -07:00
  • 7013899503 Use kubeconfig pkg for parsing utils Ahmet Alp Balkan 2020-04-12 13:17:08 -07:00
  • 7f3e441ff2 kubeconfig pkg for loading/parsing Ahmet Alp Balkan 2020-04-12 12:59:20 -07:00
  • bb95141fc5 add printSuccess, pass writers to print funcs Ahmet Alp Balkan 2020-04-12 12:37:04 -07:00
  • 28051b1fd7 define Run(stdout,stderr) method on **Ops Ahmet Alp Balkan 2020-04-12 12:29:08 -07:00
  • 5b3796ba1c add some TODOs Ahmet Alp Balkan 2020-04-10 16:41:21 -07:00
  • 1284b822a5 Fix bugs for test pass, update tests Ahmet Alp Balkan 2020-04-10 16:22:43 -07:00
  • cb103701ac Add support for renaming contexts Ahmet Alp Balkan 2020-04-10 16:11:38 -07:00
  • 5eabeab47e Support for -d (deleting contexts) Ahmet Alp Balkan 2020-04-10 15:38:50 -07:00
  • c5f17b83e7 Add support for -u/--unset Ahmet Alp Balkan 2020-04-10 15:04:31 -07:00
  • 94e8d3b4c7 Add support for -c/--current Ahmet Alp Balkan 2020-04-10 14:50:14 -07:00
  • ff6326c122 Integrate ctx swap, check for wrong ctx names Ahmet Alp Balkan 2020-04-10 14:41:57 -07:00
  • 8aaefb8a94 Save last context name in state file Ahmet Alp Balkan 2020-04-10 14:27:52 -07:00
  • f51f8be7f9 Add utils for r/w ~/.kube/kubectx file Ahmet Alp Balkan 2020-04-10 14:25:00 -07:00
  • 4fdd2898b7 Implement switch via editing yaml in-place Ahmet Alp Balkan 2020-04-10 14:07:12 -07:00
  • 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