Skip to content

Commit

Permalink
infra/gcp/org: give org admins orgpolicy.policyAdmin role
Browse files Browse the repository at this point in the history
  • Loading branch information
spiffxp committed May 6, 2021
1 parent 669e340 commit ebece4e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions infra/gcp/ensure-organization.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ org_role_bindings=(
# https://cloud.google.com/storage/docs/access-control/iam-roles#basic-roles-intrinsic
"group:[email protected]:roles/owner"
"group:[email protected]:$(custom_org_role_name "organization.admin")"
# orgpolicy.policy.set is not allowed in custom roles, this is the only role that has it
"group:[email protected]:roles/orgpolicy.policyAdmin"


# empower k8s-infra-prow-oncall@ to use GCP Console to navigate to their projects
"group:[email protected]:roles/browser"
Expand Down

0 comments on commit ebece4e

Please sign in to comment.