mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-22 22:48:05 +01:00
6 lines
198 B
Fish
6 lines
198 B
Fish
function kgetall
|
|
for i in (kubectl api-resources --verbs=list --namespaced -o name | grep -v "events.events.k8s.io" | grep -v "events" | sort | uniq)
|
|
echo -e "\nResource:" $i
|
|
kubectl get $i
|
|
end
|
|
end
|