Skip to content

Commit

Permalink
roles: remove stale prow binding cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
spiffxp committed Mar 3, 2021
1 parent cd01d9b commit 3aab780
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions infra/gcp/prow/ensure-e2e-projects.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,7 @@ for prj; do

color 6 "Ensure stale role bindings have been removed from e2e project: ${prj}"
(
# TODO(https://github.com/kubernetes/k8s.io/issues/1661): remove once verified as consistent
color 6 "group:[email protected] should not have roles/viewer (ref: https://github.com/kubernetes/k8s.io/issues/1661)"
ensure_removed_project_role_binding "${prj}" "group:[email protected]" "roles/viewer"
# TODO(https://github.com/kubernetes/k8s.io/issues/299): remove once smarter logic folded into ensure_project
color 6 "user:* should not have roles/owner for projects (ref: https://github.com/kubernetes/k8s.io/issues/299)"
ensure_removed_project_role_binding "${prj}" "[email protected]" "roles/owner"
echo "no stale bindings slated for removal"
) 2>&1 | indent

color 6 "Enabling APIs necessary for kubernetes e2e jobs to use e2e project: ${prj}"
Expand Down

0 comments on commit 3aab780

Please sign in to comment.