I’m facing an issue while deploying the k6-operator for Kubernetes in a private cloud environment. The k6-operator requires permissions to deploy resources like ClusterRole and ClusterRoleBinding. However, as I don’t have the necessary permissions, the cloud administrators have instructed me to convert ClusterRole and ClusterRoleBinding to Role and RoleBinding.
I attempted to make this conversion, but it didn’t work as expected. Has anyone encountered a similar situation or have a solution to this problem? Any guidance or advice would be greatly appreciated. Thank you.
I used this documetation : GitHub - grafana/k6-operator: An operator for running distributed k6 tests.
Hi @rafedbenjeddou,
Welcome to the forum By default, yes, installation of k6-operator requires admin access and it wasn’t a goal to come up with any other scheme. I.e. our view on this is the following:
user with admin rights installs k6-operator
user with limited rights can run tests or PLZ with k6-operator
This view fits the division of responsibility often used by engineering teams.
There were a couple of people who raised this as a concern and potential improvement over here:
AFAIR, it should be possible to install k6-operator even with limited rights but it would require some tinkering with manifests (and therefore, sufficient understanding of Kubernetes).
If you have any additional thoughts or info on topic, please feel free to share / upvote in the above issue.