summaryrefslogtreecommitdiff
path: root/spec/lib
diff options
context:
space:
mode:
authorMayra Cabrera <mcabrera@gitlab.com>2018-02-22 15:13:30 -0600
committerMayra Cabrera <mcabrera@gitlab.com>2018-02-22 15:27:56 -0600
commit14978ddc53d3ae80a87198d543dbdd14674390dd (patch)
tree294008baa8589d5c49b6a5bb53f5b42b6a535415 /spec/lib
parentf330f6596094751ec03dbde4eb8389d0281acaae (diff)
downloadgitlab-ce-14978ddc53d3ae80a87198d543dbdd14674390dd.tar.gz
Modify cluster creation API method to enable legacy_apac as default
GKE 1.8 has RBAC on by default, since GKE has bumped the default version to 1.8.7 RBAC is now on, and we don't support that out of the box. This was also avoiding cluster applications (tiller, prometheus, etc), to be installed. Closes #41619
Diffstat (limited to 'spec/lib')
-rw-r--r--spec/lib/google_api/cloud_platform/client_spec.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/lib/google_api/cloud_platform/client_spec.rb b/spec/lib/google_api/cloud_platform/client_spec.rb
index f65e41dfea3..db9d9158b29 100644
--- a/spec/lib/google_api/cloud_platform/client_spec.rb
+++ b/spec/lib/google_api/cloud_platform/client_spec.rb
@@ -115,6 +115,9 @@ describe GoogleApi::CloudPlatform::Client do
"initial_node_count": cluster_size,
"node_config": {
"machine_type": machine_type
+ },
+ "legacy_abac": {
+ "enabled": true
}
}
} )