Class: ClusterConfigureIstioWorker
- Inherits:
-
Object
- Object
- ClusterConfigureIstioWorker
- Includes:
- ApplicationWorker, ClusterQueue
- Defined in:
- app/workers/cluster_configure_istio_worker.rb
Overview
rubocop:disable Scalability/IdempotentWorker
Constant Summary
Constants included from ApplicationWorker
ApplicationWorker::LOGGING_EXTRA_KEY
Constants included from WorkerAttributes
WorkerAttributes::NAMESPACE_WEIGHTS, WorkerAttributes::VALID_RESOURCE_BOUNDARIES, WorkerAttributes::VALID_URGENCIES
Instance Method Summary collapse
Methods included from Gitlab::SidekiqVersioning::Worker
Methods included from WorkerContext
Instance Method Details
#perform(cluster_id) ⇒ Object
9 10 11 12 13 |
# File 'app/workers/cluster_configure_istio_worker.rb', line 9 def perform(cluster_id) Clusters::Cluster.find_by_id(cluster_id).try do |cluster| Clusters::Kubernetes::ConfigureIstioIngressService.new(cluster: cluster).execute end end |