Ahmet Alp Balkan
34e9024835
add -V/--version flag to go implementations ( #295 )
...
Uses goreleaser to pass ldflags.
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2021-04-09 09:43:48 -07:00
Ahmet Alp Balkan
3504e66edb
Provide binary release for darwin/arm64
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2021-02-26 11:34:03 -08:00
Ahmet Alp Balkan
55548e15ed
Release v0.9.2
2021-02-24 11:21:15 -08:00
Andrey Viktorov
9b4aea3b59
Bump up go-client to fix auth plugin panic ( #281 )
2021-02-02 15:38:27 -08:00
Jeff MAURY
767218a9a6
Check correct variable after current namespace retrieval ( #287 )
2021-01-31 17:48:35 -08:00
Ahmet Alp Balkan
438ba19fb0
Update debian installation instructions
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2020-12-29 13:40:14 -08:00
Ahmet Alp Balkan
1e49c336fc
Add license headers for 2021
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2020-12-29 13:38:42 -08:00
Jason Harmon
8c323c5653
Fix color in kubens success message when using fzf ( #228 )
2020-11-16 09:01:28 -08:00
Chris Stefano
9527e308e5
make kubectx consistent with kubens wrt. KUBECTL environment variable ( #274 )
2020-11-13 16:09:28 -08:00
Carlos Alexandro Becker
8241576f28
fix: improve kubectx completion on fish ( #269 )
2020-11-01 21:45:40 -08:00
Justin Garrison
5aba9fa311
Add Homebrew install for Linux ( #261 )
...
* Add Homebrew install for Linux
Is there a reason why `brew` install instructions isn't included for Linux? Because it's bash I'm able to install it just fine with brew on Ubuntu.
* Rearange Linux install sections
2020-09-25 14:37:59 -07:00
Gábor Lipták
a8a63da51c
Bump CI to Go 1.15 ( #266 )
2020-09-25 13:25:03 -07:00
Gábor Lipták
8c8aeada3d
Correct build badge in README ( #265 )
2020-09-25 13:24:51 -07:00
Gábor Lipták
ab50545ecd
Bump CI release to Go 1.15 ( #267 )
2020-09-25 13:24:25 -07:00
Ahmet Alp Balkan
51c61b862d
Add ppc64le build
...
Not tagging a release for now. This only causes linux/ppc64le binaries to be
created for now.
Closes #252 .
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2020-07-08 11:37:10 -07:00
Ahmet Alp Balkan
09f31d96e4
Release v0.9.1
2020-06-30 13:02:11 -07:00
Rajat Jindal
0813c314c6
Add krew release bot back ( #245 )
2020-06-22 10:37:07 -07:00
Sedat Gökcen
1db00a20d9
Structural refactoring for multiple kubeconfig support ( #219 )
2020-06-02 13:04:13 -07:00
Ahmet Alp Balkan
170233bffd
query namespace exists with GET Namespace ( #236 )
...
More efficient ns switches with kubens by querying only the namespace (instead
of listing all namespaces).
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2020-05-31 15:32:44 -07:00
Ahmet Alp Balkan
0141ee19d2
handle ctxs with ':' in the name for windows ( #235 )
...
For windows, if the ctx name for kubens state file
contains a colon ':' (EKS), we replace it with __ (both while reading/writing).
It doesn't break existing users (as it didn't work in the first place).
Other characters remain unhandled, hoping it won't happen again.
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2020-05-31 14:24:01 -07:00
Jason Harmon
401188fefd
Fix color output on Windows ( #220 )
2020-05-15 15:26:00 -07:00
Ahmet Alp Balkan
01bd237baa
Release for arm64 (armv8) and armhf (armv6), armv7 ( #217 )
2020-05-04 14:56:20 -07:00
Ahmet Alp Balkan
956d5953c2
kubens: fix interactive switch messages
...
Fixes #209 .
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2020-04-30 07:36:21 -07:00
Ahmet Alp Balkan
4425628f91
Remove changelog
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2020-04-30 07:36:21 -07:00
Curro Rodriguez
f2021bb08b
changed help in kubens, return had a typo ( #210 )
2020-04-30 07:34:06 -07:00
Ahmet Alp Balkan
d603c7dada
Release v0.9.0
2020-04-29 13:52:03 -07:00
Ahmet Alp Balkan
ba79bdb0f8
Update readme to talk about Go rewrite
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2020-04-29 13:51:19 -07:00
Ahmet Alp Balkan
fc21b8c522
Update readme, update bats setup
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2020-04-29 13:45:40 -07:00
Ahmet Alp Balkan
e5024778a9
Add integration tests to CI workflow
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2020-04-29 13:40:11 -07:00
Ahmet Alp Balkan
d669862436
Update CI workflow name
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2020-04-29 13:30:55 -07:00
Ahmet Alp Balkan
7f3f0699b3
Extend CI workflow with gofmt
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2020-04-29 13:28:12 -07:00
Ahmet Alp Balkan
3c9c44842c
Extend CI workflow by adding tests
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2020-04-29 13:22:42 -07:00
Ahmet Alp Balkan
0491ac552e
Add goreleaser and github workflows
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2020-04-29 13:18:14 -07:00
Ahmet Alp Balkan
5348d7aa7e
kubens add a short-circuit to bypass API call for tests
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2020-04-29 12:52:56 -07:00
Ahmet Alp Balkan
04689f571e
ns list: increase page size to 500
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2020-04-29 12:52:56 -07:00
Ahmet Alp Balkan
1881107d55
Load namespaces using client-go
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2020-04-29 12:52:56 -07:00
Ahmet Alp Balkan
52bbf5c786
fix compile error
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2020-04-29 12:52:56 -07:00
Ahmet Alp Balkan
4bbe0fad79
deprecation msgs for KUBECTX_CURRENT_{BG,FG}COLOR
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2020-04-29 12:52:56 -07:00
Ahmet Alp Balkan
5b745727c3
Add interactive switching to kubens
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2020-04-29 12:52:56 -07:00
Ahmet Alp Balkan
fc2e1c6b08
Fix bug about where cur ns was stored in yaml
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2020-04-29 12:52:56 -07:00
Ahmet Alp Balkan
2915103e3d
kubens: implement namespace switching
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2020-04-29 12:52:56 -07:00
Ahmet Alp Balkan
6c3977d574
kubens: Add facility to store state file
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2020-04-29 12:52:56 -07:00
Ahmet Alp Balkan
de2867a622
Implement list (via exec kubectl), clearer color settings
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2020-04-29 12:52:56 -07:00
Ahmet Alp Balkan
c4252b5795
Move kubeconfig loader utils to cmdutil pkg
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2020-04-29 12:52:56 -07:00
Ahmet Alp Balkan
1982becb15
kubens: Start implementing stubs
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2020-04-29 12:52:56 -07:00
Ahmet Alp Balkan
342d21683b
Create test utils for crafting kubeconfig strings
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2020-04-29 12:52:56 -07:00
Ahmet Alp Balkan
62d8dad7d5
extract kubeconfig test utils to a type
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2020-04-29 12:52:56 -07:00
Ahmet Alp Balkan
68b842f39b
do not fail on non-existing kubeconfig files
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2020-04-29 12:52:56 -07:00
Ahmet Alp Balkan
0e50f15393
Better success msgs, handle -d without args
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2020-04-29 12:52:56 -07:00
Ahmet Alp Balkan
f4f558004a
Tidy up colors, help msgs, TODOs
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2020-04-29 12:52:56 -07:00