diff options
author | Thong Kuah <tkuah@gitlab.com> | 2018-09-07 06:07:47 +0300 |
---|---|---|
committer | Thong Kuah <tkuah@gitlab.com> | 2018-09-14 07:26:51 +0300 |
commit | c9af170d9aeeb39dbb41a99c00402beb384da0e9 (patch) | |
tree | 53544844fd8ac75f0fc2f2d44595b01089fad874 /app/services/clusters/gcp | |
parent | 2e47e1f80e000fb717f89effef983bf22c9e2f4d (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.rb | 2 |
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' |