0.1.1
This commit is contained in:
parent
1c33a1fed6
commit
781654eca1
2
Makefile
2
Makefile
@ -6,7 +6,7 @@ SHELL=/bin/bash
|
||||
|
||||
|
||||
APPNAME ?= kubectl-plugins
|
||||
APPVERSION ?= v0.1.0
|
||||
APPVERSION ?= v0.1.1
|
||||
|
||||
PLUGINS=ls
|
||||
PLUGINS_BUILD=$(foreach plugin, $(PLUGINS), build-${plugin})
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:de7a55d7b44a78f75885f3b5a97703b68ebf9fa6386940d40ab830b201da1161
|
||||
size 1957
|
@ -37,6 +37,14 @@ function main() {
|
||||
if [[ "$act" =~ -h|--help|help ]]; then
|
||||
usage
|
||||
exit 0
|
||||
elif [[ "$act $res" == "logs " ]]; then
|
||||
_kube_list_pods "$cur_ns_arg"
|
||||
shift 1
|
||||
$KUBECTL "$act" "$sel_pod" --tail 100 -f
|
||||
elif [[ "$act $res" == "exec " ]]; then
|
||||
_kube_list_pods "$cur_ns_arg"
|
||||
shift 1
|
||||
$KUBECTL "$act" "$sel_pod" -it -- sh
|
||||
elif [[ "$act" =~ logs|exec|describe ]]; then
|
||||
_kube_list_pods "$cur_ns_arg"
|
||||
shift 1
|
||||
|
Loading…
Reference in New Issue
Block a user