Skip to content

Commit 4da328b

Browse files
Remove permission for compute service account.
1 parent 38840a3 commit 4da328b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

infra/gcp/bash/prow/ensure-e2e-projects.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,6 @@ function ensure_e2e_project() {
118118
"serviceAccount:${PROW_BUILD_SVCACCT}" \
119119
"roles/secretmanager.admin"
120120

121-
# Ensure GCP Default Compute Engine Service Agent Account can manage Secret Manager Secrets
122-
ensure_project_role_binding "${prj}" \
123-
"serviceAccount:service-${project_number}@compute-system.iam.gserviceaccount.com" \
124-
"roles/secretmanager.admin"
125-
126-
127121
# TODO: this is what prow.k8s.io uses today, but seems overprivileged, we
128122
# could consider using a more limited custom IAM role instead
129123
color 6 "Empower boskos-janitor service account to clean e2e project: ${prj}"

0 commit comments

Comments
 (0)