Skip to content

Commit

Permalink
capg: enable compute api for CAPG to build the node images
Browse files Browse the repository at this point in the history
  • Loading branch information
cpanato committed May 10, 2021
1 parent c83a4fb commit 9bbbcf5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions infra/gcp/ensure-staging-storage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -311,3 +311,12 @@ 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
)

0 comments on commit 9bbbcf5

Please sign in to comment.