Skip to content

Grant kubernetes-release-test GCB GCR admin on k8s-staging-kubernetes #1042

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

Merged
merged 1 commit into from
Jul 20, 2020
Merged
Show file tree
Hide file tree
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
3 changes: 0 additions & 3 deletions groups/groups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1161,9 +1161,6 @@ groups:
members:
- [email protected]
- [email protected]
# This is the old kubernetes-release-test project. We need it until all
# the transitions to community ownership are done for release process.
- [email protected]

- email-id: [email protected]
name: k8s-infra-staging-kube-state-metrics
Expand Down
11 changes: 11 additions & 0 deletions infra/gcp/ensure-staging-storage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,17 @@ for repo in "${RELEASE_STAGING_PROJECTS[@]}"; do
color 6 "Empowering ${RELEASE_VIEWERS} as project viewers in ${PROJECT}"
empower_group_as_viewer "${PROJECT}" "${RELEASE_VIEWERS}"

# Grant the kubernete-release-test (old staging) GCB service account
# admin GCR access to the new staging project for Kubernetes releases.
# This is required for VDF as we need to continue running
# stages/releases from the old project while publishing container
# images to new project.
#
# ref: https://github.com/kubernetes/release/pull/1230
if [[ "${PROJECT}" == "k8s-staging-kubernetes" ]]; then
color 6 "Empowering kubernetes-release-test GCB service account to admin GCR"
empower_svcacct_to_admin_gcr "[email protected]" "${PROJECT}"
fi
) 2>&1 | indent
done

Expand Down