Add get-all plugin specific for namespace view (#2091)
parent
4d5554443e
commit
e8955ea9fc
|
|
@ -1,6 +1,17 @@
|
|||
plugin:
|
||||
#get all resources in a namespace using the krew get-all plugin
|
||||
get-all:
|
||||
get-all-namespace:
|
||||
shortCut: g
|
||||
confirm: false
|
||||
description: get-all
|
||||
scopes:
|
||||
- namespaces
|
||||
command: sh
|
||||
background: false
|
||||
args:
|
||||
- -c
|
||||
- "kubectl get-all -n $NAME | less"
|
||||
get-all-other:
|
||||
shortCut: g
|
||||
confirm: false
|
||||
description: get-all
|
||||
|
|
@ -10,4 +21,4 @@ plugin:
|
|||
background: false
|
||||
args:
|
||||
- -c
|
||||
- "kubectl get-all -n $NAMESPACE | less"
|
||||
- "kubectl get-all -n $NAMESPACE | less"
|
||||
|
|
|
|||
Loading…
Reference in New Issue