KEDA Operator Get All Access #4730
Replies: 3 comments 16 replies
-
@zroubalik @JorTurFer Do you know why this is the case? Likely this is not intentional |
Beta Was this translation helpful? Give feedback.
-
@zroubalik @JorTurFer Any update on this? I installed the helm chart v2.13.1 with all secret restrictions enabled permissions:
operator:
restrict:
secret: true
metricServer:
restrict:
secret: true but keda-operator still has "get" access to all secrets by way of this permissive rule in the keda-operator ClusterRole: - apiGroups:
- '*'
resources:
- '*'
verbs:
- get kubectl auth can-i get secrets --as=system:serviceaccount:keda:keda-operator
yes I think the documentation for the restrict fields is misleading, as it implies that access to secrets will be (completely) restricted. It would be helpful if the docs explained how to finish the job. |
Beta Was this translation helpful? Give feedback.
-
See recent changes kedacore/charts#625 |
Beta Was this translation helpful? Give feedback.
-
Hi All,
I want to do a quick check before using KEDA on production. Notice that the Cluster role for KEDA Operator has given get access to all api groups and resources
https://github.com/kedacore/charts/blob/main/keda/templates/manager/clusterrole.yaml#L41-L46
is there any particular reason for this or do we have a list of mandatory GET access that we can fine grained
Thanks
Beta Was this translation helpful? Give feedback.
All reactions