Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThong Kuah <tkuah@gitlab.com>2018-09-07 06:07:47 +0300
committerThong Kuah <tkuah@gitlab.com>2018-09-14 07:26:51 +0300
commitc9af170d9aeeb39dbb41a99c00402beb384da0e9 (patch)
tree53544844fd8ac75f0fc2f2d44595b01089fad874 /app/services/clusters/gcp
parent2e47e1f80e000fb717f89effef983bf22c9e2f4d (diff)
Create a GKE cluster with legacy_abac disabled when the `:rbac_clusters` feature flag is enabled
Explicitly persist the legacy_abac value of the cluster_provider_gcp so that we can disable abac if the `:rbac_clusters` feature flag is enabled
Diffstat (limited to 'app/services/clusters/gcp')
-rw-r--r--app/services/clusters/gcp/provision_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/clusters/gcp/provision_service.rb b/app/services/clusters/gcp/provision_service.rb
index 0d8b39a552b..80040511ec2 100644
--- a/app/services/clusters/gcp/provision_service.rb
+++ b/app/services/clusters/gcp/provision_service.rb
@@ -28,7 +28,7 @@ module Clusters
provider.cluster.name,
provider.num_nodes,
machine_type: provider.machine_type,
- legacy_abac: true
+ legacy_abac: provider.legacy_abac
)
unless operation.status == 'PENDING' || operation.status == 'RUNNING'