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

Use compute v1 api to specify network tier #88487

Merged

Commits on Feb 25, 2020

  1. Use compute v1 api to specify network tier

    Drop the use of the alpha api for operations that are supported by compute v1
    
    The switch/case logic was wrong because the user
    can set the default tier for a project:
    https://cloud.google.com/network-tiers/docs/using-network-service-tiers#setting_the_tier_for_all_resources_in_a_project
    
    The assumption that the default tier is always PREMIUM is wrong
    
    This patch uses the explicit network tier when possible,
    or it falls back to the project default.
    
    Signed-off-by: Saverio Proto <saverioproto@google.com>
    zioproto committed Feb 25, 2020
    Copy the full SHA
    bdc54eb View commit details
    Browse the repository at this point in the history