Skip to content
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/main: _actually_ use roles/container.admin #2484

Merged
merged 1 commit into from
Aug 6, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion infra/gcp/ensure-main-project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ function empower_cluster_admins_and_users() {
prow_deployer_acct="prow-deployer@k8s-infra-prow-build-trusted.iam.gserviceaccount.com"
# TODO(spiffxp): use container.deployer once we figure out why it isn't getting RBAC privileges
old_prow_deployer_role=$(custom_org_role_name "container.deployer")
prow_deployer_role=$(custom_org_role_name "container.deployer")
prow_deployer_role="roles/container.admin"
color 6 "Empowering ${prow_deployer_acct} to deploy to clusters in project: ${project}"
ensure_removed_project_role_binding "${project}" "serviceAccount:${prow_deployer_acct}" "${old_prow_deployer_role}"
ensure_project_role_binding "${project}" "serviceAccount:${prow_deployer_acct}" "${prow_deployer_role}"
Expand Down