actions / actions-runner-controller

Kubernetes controller for GitHub Actions self-hosted runners
Apache License 2.0
4.63k stars 1.1k forks source link

Fix secrets Role and ClusterRole namespace declaration #3437

Open reegnz opened 5 months ago

reegnz commented 5 months ago

Rendering the template in single namespace mode the Role should always have the namespace set. Rendering in cluster mode the ClusterRole shouldn't have any namespace set.