List resources that are bound or not bound to namespace in Kubernetes

kubectl api-resources --namespaced=true
kubectl api-resources --namespaced=false