Skip to content

Instantly share code, notes, and snippets.

@kanedafromparis
Forked from fjcloud/oc get all
Last active February 21, 2020 09:45
Show Gist options
  • Save kanedafromparis/0e1d4b61cfbf83b8a30256b76a2d3519 to your computer and use it in GitHub Desktop.
Save kanedafromparis/0e1d4b61cfbf83b8a30256b76a2d3519 to your computer and use it in GitHub Desktop.
oc get --ignore-not-found $( oc api-resources --verbs=list --namespaced -o name | xargs | sed 's/\ /,/g')
k get --ignore-not-found $( k api-resources --verbs=list --namespaced -o name | xargs | sed 's/\ /,/g')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment