You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current chart for the admission controller grants full cluster admin.
While applying k8s pod security policies, it was noticed that even without allowing the anchore-webhook-admission permission to use the policy, it could do it.
which gives cluster-admin permission to the anchore-admission-controller. This seems to defeat all the purpose of doing all the fine grained roles in the anchore-admission-controller helm chart as full cluster admin is given anyway.
Can we investigate the need for cluster-admin for the controller?
The text was updated successfully, but these errors were encountered:
blang9238
changed the title
Admission Controller needs full cluster admin
Admission Controller should not require full cluster admin
Jun 17, 2021
The current chart for the admission controller grants full cluster admin.
While applying k8s pod security policies, it was noticed that even without allowing the anchore-webhook-admission permission to use the policy, it could do it.
It was narrowed down to
anchore-charts/stable/anchore-admission-controller/templates/clusterrolebinding.yaml
Lines 22 to 24 in 70ba473
Can we investigate the need for cluster-admin for the controller?
The text was updated successfully, but these errors were encountered: