-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Alpha Compute API only in case of dual stack
#268 introduced IPv6 support, but it also began to require Google Cloud Compute Aplha API access. Unfortunately by default projects don't have this access and therefore, when the CCM fails with: googleapi: Error 403: Required 'Alpha Access' permission for 'Compute API', forbidden This commit starts using Alpha API only for dual stack deployments, where it's really required. For all other cases we will continue to use GA API. Fixes: #281
- Loading branch information
Showing
2 changed files
with
176 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters