Julian Vassev
d6f706a28e
Allow for '/' in context name
...
Also, fix `kubens -` which fails to save previous namespace
after 6610d70
2018-04-04 11:42:04 -07:00
Ahmet Alp Balkan
0141d66224
Support "kubectx NAME=." to rename current-context
...
Fixes #24 .
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-04-02 23:52:18 -07:00
Ahmet Alp Balkan
fbce3de6b9
Add overwriting to rename
...
rename now deletes the context (soft-delete, as in does not delete user or
cluster of the context) if the specified name exists.
Fixes #25 .
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-04-02 23:27:51 -07:00
Ahmet Alp Balkan
6610d70ca8
separate local declarations and function calls
...
Suggested by SC2155 (https://github.com/koalaman/shellcheck/wiki/SC2155 ).
It captures some of the errors from kubectl that were previously described
in #5 . However, this doesn't completely address that.
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-04-02 22:20:35 -07:00
Ahmet Alp Balkan
80336137bd
Merge pull request #32 from shiroyasha/installation-steps-linux
...
Example installation steps on Linux
2018-03-30 10:26:18 -07:00
Ahmet Alp Balkan
1c9b5c54e8
Merge pull request #33 from jonmosco/utils_bash
...
Incorporate utils.bash into each executable to help simplify packaging for Linux and other platforms. This adds to PR #32
2018-03-15 10:17:48 -07:00
Jon Mosco
b188f4da88
Incorporate utils.bash into each executable to help simplify packaging
...
for Linux and other platforms. This adds to PR #32
remove unused functions
2018-03-15 12:34:18 -04:00
Igor Šarčević
57893cb668
Example installation steps on Linux
2018-03-10 13:17:09 +01:00
Ahmet Alp Balkan
8da629d98e
Update README.md
2018-03-01 10:27:55 -08:00
Ahmet Alp Balkan
b2992aa0df
Update readme to add fish completion support
2018-01-18 10:18:50 -08:00
Ahmet Alp Balkan
2f33693466
Merge pull request #26 from ichekrygin/master
...
Add Fish Shell Completions
2018-01-18 10:18:04 -08:00
Illya Chekrygin
c813642dc3
Add fish
completions for kubectx
and kubens
2018-01-17 23:23:53 -08:00
Ahmet Alp Balkan
12575f8ce4
Update README.md
2018-01-12 15:30:38 -08:00
Ahmet Alp Balkan
46d4236f1a
Update README.md
2018-01-12 15:29:57 -08:00
Ahmet Alp Balkan
7ae68ada83
Update README.md
2018-01-02 14:58:33 -08:00
Ahmet Alp Balkan
146b67d2b0
Merge pull request #20 from knil-sama/knil-sama-readme-typo
...
Update README.md
2017-12-20 09:04:05 -08:00
Clement Demonchy
e3ceb14db5
Update README.md
...
Correct typo soemwhere -> somewhere
2017-12-20 14:16:28 +01:00
Ahmet Alp Balkan
6e250aecb6
Remove Formula/*, it's now in homebrew-core
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-12-14 15:21:10 -08:00
Ahmet Alp Balkan
d613c37c16
Update README.md
2017-12-12 10:34:58 -08:00
Ahmet Alp Balkan
61f1aa8fd7
Update README.md
2017-12-12 10:34:44 -08:00
Ahmet Alp Balkan
8390860474
Update README.md
2017-11-17 10:15:31 -08:00
Ahmet Alp Balkan
394288edc0
Update README.md
2017-11-15 12:49:33 -08:00
Ahmet Alp Balkan
dc6d2e57b3
README.md: Add user testimonials
2017-11-15 12:48:05 -08:00
Ahmet Alp Balkan
aa215b9eeb
Update installation instructions for non-macOS
2017-11-15 12:41:03 -08:00
Ahmet Alp Balkan
e82879a185
Update README.md
2017-11-09 14:15:52 -08:00
Ahmet Alp Balkan
8c17834c36
Merge pull request #15 from bnookala/use-rename-context
...
Use rename-context in place of set-context
2017-11-09 14:15:23 -08:00
Bhargav Nookala
9ed6690978
🔧 use rename-context in place of set-context
2017-11-03 12:49:03 -07:00
Ahmet Alp Balkan
ed2afa7572
Add GIFs to README.md
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-10-24 12:32:22 -07:00
Ahmet Alp Balkan
5d79a0663d
Remove message for '-' in kubectx.zsh
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-10-23 23:56:21 -07:00
Ahmet Alp Balkan
e7131add7a
Add Stargazers chart
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-10-22 19:22:23 -07:00
Ahmet Alp Balkan
fd91e53d1f
🎉 kubectx is now in homebrew-core 🎊
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-06-29 14:12:46 -07:00
Ahmet Alp Balkan
b06fcaf054
Update Homebrew Formula with v0.3.1
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-05-17 10:09:10 -07:00
Ahmet Alp Balkan
9a7358ce67
Merge pull request #9 from ahmetb/readlink
...
Fallback to readlink -f on macOS
2017-05-17 10:07:04 -07:00
Ahmet Alp Balkan
8e413fc8ac
Fallback to readlink -f on macOS
...
BSD coreutils readlink doesn't have -f option, so
adding a Python one-liner feedback to eval symlinks/homedir.
Fixes #8 .
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-05-17 09:37:57 -07:00
Ahmet Alp Balkan
7e10232fdd
Update Homebrew Formula with v0.3.0
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-05-16 22:19:32 -07:00
Ahmet Alp Balkan
572b3e83d9
Refactor completion descriptions on README
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-05-16 22:12:57 -07:00
Ahmet Alp Balkan
03f24f2625
Merge pull request #7 from ahmetb/short-names
...
Add --with-short-names option
2017-05-16 22:06:15 -07:00
Ahmet Alp Balkan
8dec9cf004
Document --with-short-names
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-05-16 22:05:52 -07:00
Ahmet Alp Balkan
a376b02e88
Add --with-short-names option
...
This allows linking as "kctx" and "kns" to prevent overlap with kubectl Tab
completion when user hits `ku<Tab>`. Fixes #3 .
Also fixed variables KUBECTX and PREV leaking to zsh shell once the _kubectx
function is invoked.
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-05-16 22:01:46 -07:00
Ahmet Alp Balkan
da3f814280
Merge pull request #6 from ahmetb/wip-kubens
...
Add kubens tool for namespace switching
2017-05-16 20:31:15 -07:00
Ahmet Alp Balkan
d441505348
Add kubens tool for namespace switching
...
Fixes #1 . Now kubectx also ships with kubens.
Extracted utility functions to a utils.bash file, loaded
from ../include/utils.bash.
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-05-16 19:06:58 -07:00
Ahmet Alp Balkan
c49f975e45
Merge pull request #4 from swestcott/master
...
Fix context discovery
2017-05-15 19:34:28 -07:00
Simon Westcott
8c6cf84801
Unified context discovery
2017-05-12 09:05:02 +01:00
Simon Westcott
d04543ffef
Fix context discovery
2017-05-11 12:44:11 +01:00
Ahmet Alp Balkan
d1c04555f4
Update readmes
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-04-26 09:49:46 -07:00
Ahmet Alp Balkan
6e2f181518
Update brew formula for v0.2.0
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-04-26 09:42:08 -07:00
Ahmet Alp Balkan
5933a7bbf8
Add zsh completion script (finally)
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-04-26 09:39:24 -07:00
Ahmet Alp Balkan
a19b9535f6
Formula fixes
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-04-25 13:28:10 -07:00
Ahmet Alp Balkan
a861562803
Formula polishing
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-04-25 13:21:42 -07:00
Ahmet Alp Balkan
c4b6ad9517
Add a homebrew formula
...
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-04-25 12:58:58 -07:00