make sure that the bootstrap rbac rules are getting created in test-cmd

This commit is contained in:
deads2k
2016-10-04 11:07:42 -04:00
parent 467b7d928f
commit f73d1ea90a
6 changed files with 69 additions and 68 deletions

View File

@@ -419,6 +419,10 @@ runTests() {
kubectl get "${kube_flags[@]}" --raw /version
# make sure the server was properly bootstrapped with clusterroles and bindings
kube::test::get_object_assert clusterroles/cluster-admin "{{.metadata.name}}" 'cluster-admin'
kube::test::get_object_assert clusterrolebindings/cluster-admin "{{.metadata.name}}" 'cluster-admin'
###########################
# POD creation / deletion #
###########################