#!/bin/bash kubectl api-resources --verbs=list --namespaced -o name | xargs -n 1 kubectl get --show-kind --ignore-not-found -n $1 | sort | awk '{print $1}' | grep \/