Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,11 @@ metadata:
iam.gke.io/gcp-service-account: k8s-infra-gcr-promoter@k8s-artifacts-prod-bak.iam.gserviceaccount.com
name: k8s-infra-gcr-promoter-bak
namespace: test-pods
---
kind: ServiceAccount
apiVersion: v1
metadata:
annotations:
iam.gke.io/gcp-service-account: gcb-builder-cluster-api-gcp@k8s-staging-cluster-api-gcp.iam.gserviceaccount.com
name: gcb-builder-cluster-api-gcp
namespace: test-pods
10 changes: 10 additions & 0 deletions infra/gcp/ensure-staging-storage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -311,3 +311,13 @@ color 6 "Configuring special case for k8s-staging-releng-test"
(
ensure_staging_gcb_builder_service_account "releng-test" "k8s-infra-prow-build"
)

# Special case: In order to build the node images using image-builder it needs
# the compute api to be enabled because it will create a VM
# to build the node image.
color 6 "Configuring special case for k8s-staging-cluster-api-gcp"
(
readonly STAGING_PROJECT="k8s-staging-cluster-api-gcp"
enable_api "${STAGING_PROJECT}" compute.googleapis.com
Comment thread
cpanato marked this conversation as resolved.
ensure_staging_gcb_builder_service_account "cluster-api-gcp" "k8s-infra-prow-build-trusted"
)