dotfiles/dot_config/fish/private_functions/private_kgetall.fish

7 lines
198 B
Fish
Raw Normal View History

2021-08-10 10:50:48 +02:00
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