interesting changes to add tokenreviews endpoint to implement webhook

This commit is contained in:
deads2k
2016-07-19 14:47:53 -04:00
parent eb79e2c859
commit 60dd4a5d26
29 changed files with 491 additions and 30 deletions

View File

@@ -2323,6 +2323,10 @@ __EOF__
# Post-condition: node is schedulable
kube::test::get_object_assert "nodes 127.0.0.1" "{{.spec.unschedulable}}" '<no value>'
# check webhook token authentication endpoint, kubectl doesn't actually display the returned object so this isn't super useful
# but it proves that works
kubectl create -f test/fixtures/pkg/kubectl/cmd/create/tokenreview.json --validate=false
#####################
# Retrieve multiple #