summaryrefslogtreecommitdiff
path: root/app/workers/cluster_provision_worker.rb
diff options
context:
space:
mode:
authorThong Kuah <tkuah@gitlab.com>2018-11-02 15:46:15 +0000
committerKamil TrzciƄski <ayufan@ayufan.eu>2018-11-02 15:46:15 +0000
commit5ede567d718bcf69a204dee83155399a401cb465 (patch)
tree932ca30df7e32ab92a664ebfd2b9284641061e73 /app/workers/cluster_provision_worker.rb
parent2a89f065a478839e330d1f0c5f314ddf8489d77b (diff)
downloadgitlab-ce-5ede567d718bcf69a204dee83155399a401cb465.tar.gz
Incorporates Kubernetes Namespace into Cluster's flow
Diffstat (limited to 'app/workers/cluster_provision_worker.rb')
-rw-r--r--app/workers/cluster_provision_worker.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/workers/cluster_provision_worker.rb b/app/workers/cluster_provision_worker.rb
index 59de7903c1c..3d5894b73ec 100644
--- a/app/workers/cluster_provision_worker.rb
+++ b/app/workers/cluster_provision_worker.rb
@@ -9,6 +9,8 @@ class ClusterProvisionWorker
cluster.provider.try do |provider|
Clusters::Gcp::ProvisionService.new.execute(provider) if cluster.gcp?
end
+
+ ClusterPlatformConfigureWorker.perform_async(cluster.id) if cluster.user?
end
end
end