mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-07 20:21:20 +00:00
make sure that the bootstrap rbac rules are getting created in test-cmd
This commit is contained in:
@@ -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 #
|
||||
###########################
|
||||
|
Reference in New Issue
Block a user