forked from kubernetes/k8s.io
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
roles: remove backup user:* bindings for organization.admin
- Loading branch information
Showing
1 changed file
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,11 +90,10 @@ color 6 "Ensuring organization IAM bindings exist" | |
|
||
color 6 "Ensuring removed organization IAM bindings do not exist" | ||
( | ||
# TODO(spiffxp): remove this once the old bindings are confirmed gone | ||
for role in "${old_org_admin_roles[@]}"; do | ||
# TODO(spiffxp): remove the extra super duper paranoia once we verify | ||
# I haven't locked myself out via group membership | ||
ensure_org_role_binding "user:[email protected]" "${role}" | ||
ensure_org_role_binding "user:[email protected]" "${role}" | ||
ensure_removed_org_role_binding "user:[email protected]" "${role}" | ||
ensure_removed_org_role_binding "user:[email protected]" "${role}" | ||
done | ||
) 2>&1 | indent | ||
|
||
|