diff options
author | Thong Kuah <tkuah@gitlab.com> | 2019-06-24 08:16:31 +0300 |
---|---|---|
committer | Thong Kuah <tkuah@gitlab.com> | 2019-06-24 08:16:31 +0300 |
commit | d9f4a919458721bd9ffae4d4e69bf17d18bd3be8 (patch) | |
tree | 04fe777f8eb643539cb4eceedeb54cb586947332 /app/models/clusters/platforms | |
parent | 833013ba4a855d62cfbc691c3ba95e06876a1634 (diff) | |
parent | 74702f0e0e05bc346338fbd11b596fcbedfbaea6 (diff) |
Merge branch '60617-enable-project-cluster-jit' into 'master'
Enable JIT Kubernetes resource creation for project level clusters
See merge request gitlab-org/gitlab-ce!29515
Diffstat (limited to 'app/models/clusters/platforms')
-rw-r--r-- | app/models/clusters/platforms/kubernetes.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/app/models/clusters/platforms/kubernetes.rb b/app/models/clusters/platforms/kubernetes.rb index 2afe471d1cc..5afb193cf86 100644 --- a/app/models/clusters/platforms/kubernetes.rb +++ b/app/models/clusters/platforms/kubernetes.rb @@ -47,7 +47,6 @@ module Clusters validate :prevent_modification, on: :update after_save :clear_reactive_cache! - after_update :update_kubernetes_namespace alias_attribute :ca_pem, :ca_cert @@ -210,14 +209,6 @@ module Clusters true end - - def update_kubernetes_namespace - return unless saved_change_to_namespace? - - run_after_commit do - ClusterConfigureWorker.perform_async(cluster_id) - end - end end end end |