Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audit RBAC, avoid global (*) permissions #2866

Merged
merged 4 commits into from
Aug 31, 2023

Commits on Aug 28, 2023

  1. Audit rbac, avoid global (*) permissions

    There are some permissions which are logically not needed,
    and some others where we can just reduce the verb set allowed.
    
    Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
    akalenyu committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    2fe9a61 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    15c3b14 View commit details
    Browse the repository at this point in the history
  3. Less control over cluster webhooks

    Following https://kubernetes.io/docs/concepts/security/rbac-good-practices/#control-admission-webhooks
    We know the names of our validating/mutating webhooks upfront,
    so we can only allow update/delete on those.
    
    Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
    akalenyu committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    381fe00 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9054204 View commit details
    Browse the repository at this point in the history