mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-06-29 11:18:36 +02:00
7 lines
198 B
Fish
7 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
|