Skip to content

Instantly share code, notes, and snippets.

@cfchase
Last active July 12, 2017 20:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cfchase/10e5f3e2114046a47627db751e3aa2b8 to your computer and use it in GitHub Desktop.
Save cfchase/10e5f3e2114046a47627db751e3aa2b8 to your computer and use it in GitHub Desktop.
podpreset query
//curl -X GET -H "Authorization: Bearer ${TOKEN}" https://172.17.0.1:8443/apis/settings.k8s.io/v1alpha1 --insecure
{
"kind": "APIResourceList",
"apiVersion": "v1",
"groupVersion": "settings.k8s.io/v1alpha1",
"resources": [
{
"name": "podpresets",
"namespaced": true,
"kind": "PodPreset",
"verbs": [
"create",
"delete",
"deletecollection",
"get",
"list",
"patch",
"update",
"watch"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment