Last active
January 27, 2017 00:30
-
-
Save jgensler8/b74be25ddf6b286f57ba90129f0a4be9 to your computer and use it in GitHub Desktop.
Find all Kubernetes third party resources in a given namespaces
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# *run kubectl proxy* | |
# This guide assumes the third party api is: oidc.coreos.com/v1/ | |
# Modify accordingly | |
curl -s http://localhost:8001/apis/oidc.coreos.com/v1/ | jq -r '.resources[].name' | awk '{ print "http://localhost:8001/apis/oidc.coreos.com/v1/namespaces/tectonic-system/"$0 }' | xargs curl | jq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment