Description
Which component are you using?:
/area helm-charts
Is your feature request designed to solve a problem? If so describe the problem this feature should solve.:
For autoscaler you have the option to configure a different capi group than cluster.x-k8s.io
to be watched by the autoscaler pod via environment variable. Unfortunately the api group in the clusterrole and role templates in the autoscaler helm chart are set statically.
Describe the solution you'd like.:
I would like to have a value to configure both the api group for machine related resources in rolebinding/clusterrolebinding template which is deployed and used by the bound serviceaccount and the environment variable which is configured for the autoscaler pod.
Describe any alternative solutions you've considered.:
At the moment you can configure extraObjects
to deploy additional objects like the role and rolebinding for a custom api group.
Additional context.: