Commit 4e9087b6 authored by João Cunha's avatar João Cunha Committed by Rémy Coutable

Enables VPC-Native by default on cluster creation

parent 38aeeece
---
title: Create clusters with VPC-Native enabled
merge_request: 18284
author:
type: changed
...@@ -96,6 +96,9 @@ module GoogleApi ...@@ -96,6 +96,9 @@ module GoogleApi
legacy_abac: { legacy_abac: {
enabled: legacy_abac enabled: legacy_abac
}, },
ip_allocation_policy: {
use_ip_aliases: true
},
addons_config: enable_addons.each_with_object({}) do |addon, hash| addons_config: enable_addons.each_with_object({}) do |addon, hash|
hash[addon] = { disabled: false } hash[addon] = { disabled: false }
end end
......
...@@ -102,6 +102,9 @@ describe GoogleApi::CloudPlatform::Client do ...@@ -102,6 +102,9 @@ describe GoogleApi::CloudPlatform::Client do
legacy_abac: { legacy_abac: {
enabled: legacy_abac enabled: legacy_abac
}, },
ip_allocation_policy: {
use_ip_aliases: true
},
addons_config: addons_config addons_config: addons_config
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment