Add get-all plugin specific for namespace view (#2091)

mine
Jan Dittrich 2023-05-28 15:24:47 +02:00 committed by GitHub
parent 4d5554443e
commit e8955ea9fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 2 deletions

View File

@ -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