diff options
author | Tiger <twatson@gitlab.com> | 2019-06-12 02:44:18 +0300 |
---|---|---|
committer | Tiger <twatson@gitlab.com> | 2019-06-18 05:43:52 +0300 |
commit | 74702f0e0e05bc346338fbd11b596fcbedfbaea6 (patch) | |
tree | e426ab17b7dc425c9d63dc9670b865fcbd17bb02 /app/workers | |
parent | db9ef69272155b3c8ead5c0e7d027bda2b623d43 (diff) |
Enable project-level JIT resource creation
Previously this behaviour was only available to group
and instance-level clusters, as some project clusters
relied on Kubernetes credentials being passed through
to the runner instead of having their resources managed
by GitLab (which is not available when using JIT). These
clusters have been migrated to unmanaged, so resources
can be created on demand for the remaining managed clusters.
Diffstat (limited to 'app/workers')
-rw-r--r-- | app/workers/cluster_provision_worker.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/workers/cluster_provision_worker.rb b/app/workers/cluster_provision_worker.rb index 926ae2b7286..59de7903c1c 100644 --- a/app/workers/cluster_provision_worker.rb +++ b/app/workers/cluster_provision_worker.rb @@ -9,8 +9,6 @@ class ClusterProvisionWorker cluster.provider.try do |provider| Clusters::Gcp::ProvisionService.new.execute(provider) if cluster.gcp? end - - ClusterConfigureWorker.perform_async(cluster.id) if cluster.user? end end end |