While using Sonobuoy as our main test runner engine at Alauda we noticed a small issue and decided to contribute the patch:
Sonobuoy will create Kubernetes RBAC ClusterRole
and ClusterRoleBinding
but will also destroy together with all the test data. This is ideal, but in the current implementation it will delete it globally affecting other parallel tests permissions, resulting in lots of permission failures. This Pull-request solves this issue by adding a test run namespace
label to all Cluster
resources, and make these resource names unique according to the namespace
.
Try it out and let us know. Happy testing!