mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-19 15:39:17 +00:00
It's possible that a conflict will happen when attempting to create a `ClusterRole` resource without a randomized name given that is a cluster scoped object and another object with same name might exist. This commit fixes this issue by ensuring the name of the `ClusterRole` is randomized. Additionally, it adds clean up for the clusterRole and clusterRoleBinding.