-
Notifications
You must be signed in to change notification settings - Fork 827
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
infra/gcp/roles: update custom org roles #2010
Conversation
the serviceaccounts are now bound directly to the appropriate roles it seems like including a serviceaccount in a group does not always propogate permissions correctly, so let's stop using it as a pattern
Each permissionRegex is now wrapped in parentheses to become its own group when passed to grep -E. This ensures ^ and $ characters in each regex don't end up applying to the whole | concatenation of regexes.
specifically: - add comments explaining (or asking) why these roles/permissions - prune spec: - roles/browser better captures intent and covers more than organizationViewer - roles/iam.securityReviewer covers most storage.buckets permissions - add to spec: - roles/cloudasset.viewer in anticipation of using gcloud assets to list resources and iam roles more quickly for audit
specifically - add comments explaining or guessing why these specific roles - add roles/billing.creator to allow creating a budget for k8s-infra-ii-sandbox - add roles/billing.costsManager because it sounds useful - add roles/storage.admin but filter to storage.buckets.* to ensure org admins have break-glass access to buckets
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hasheddan, spiffxp The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
#2006 confirms all of the changes here, I reviewed it linking back to commits in this PR |
See individual commits for details, but the tl;dr is this should help with:
The groups change also wraps up part of #1974, specifically the part about service accounts being bound directly to their roles rather than indirectly through group membership