diff options
author | Tiger <twatson@gitlab.com> | 2019-06-12 09:44:18 +1000 |
---|---|---|
committer | Tiger <twatson@gitlab.com> | 2019-06-18 12:43:52 +1000 |
commit | 74702f0e0e05bc346338fbd11b596fcbedfbaea6 (patch) | |
tree | e426ab17b7dc425c9d63dc9670b865fcbd17bb02 /spec/workers | |
parent | db9ef69272155b3c8ead5c0e7d027bda2b623d43 (diff) | |
download | gitlab-ce-74702f0e0e05bc346338fbd11b596fcbedfbaea6.tar.gz |
Enable project-level JIT resource creation60617-enable-project-cluster-jit
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 'spec/workers')
-rw-r--r-- | spec/workers/cluster_provision_worker_spec.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/workers/cluster_provision_worker_spec.rb b/spec/workers/cluster_provision_worker_spec.rb index 9cc2ad12bfc..3f69962f25d 100644 --- a/spec/workers/cluster_provision_worker_spec.rb +++ b/spec/workers/cluster_provision_worker_spec.rb @@ -23,18 +23,11 @@ describe ClusterProvisionWorker do described_class.new.perform(cluster.id) end - - it 'configures kubernetes platform' do - expect(ClusterConfigureWorker).to receive(:perform_async).with(cluster.id) - - described_class.new.perform(cluster.id) - end end context 'when cluster does not exist' do it 'does not provision a cluster' do expect_any_instance_of(Clusters::Gcp::ProvisionService).not_to receive(:execute) - expect(ClusterConfigureWorker).not_to receive(:perform_async) described_class.new.perform(123) end |