Replies: 3 comments 5 replies
-
|
It needs those privileges, and the whole reason it has them is so that other components don't. It would be far, far more dangerous for the API server or for a (non-management) controller to have such broad access. The role of the management controller is to grant broad access only to a single component in the control plane and then allow that component to dynamically expand and contract much narrower sets of permissions for all the other components that are inherently more vulnerable. |
Beta Was this translation helpful? Give feedback.
-
|
I believe you’re suggesting that the I’m trying to understand this better because the diagram provided in the docs.kargo.io/operator-guide/architecture/#the-kargo-control-plane doesn’t provide enough detail about the attack vectors for the |
Beta Was this translation helpful? Give feedback.
-
|
As an aside, when I was reviewing roles and cluster roles for the platform team here, I noticed in |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
It looks like the cluster role
kargo-management-controllerhas wildcard privilages onclusterroles,clusterrolebindings,rolebindings, androles. Can this scope safely be reduced to remove theclusterrolesandclusterrolebindings?Are there specific recommendations to secure this highly privilaged cluster role to prevent privilage escalation?
kargo-managment-controller cluster role
Beta Was this translation helpful? Give feedback.
All reactions