Class: UffizziCore::Controller::UpdateCluster::ClusterSerializer

Inherits:
BaseSerializer
  • Object
show all
Includes:
DependencyInjectionConcern
Defined in:
app/serializers/uffizzi_core/controller/update_cluster/cluster_serializer.rb

Instance Method Summary collapse

Methods included from DependencyInjectionConcern

#ci_module, #ci_session, #controller_settings_service, #deployment_memory_module, #domain_module, #find_build_parser_module, #find_ingress_parser_module, #find_volume_parser_module, #notification_module, #password_protection_module, #template_memory_module, #user_access_module

Instance Method Details

#base_ingress_hostObject



9
10
11
12
13
# File 'app/serializers/uffizzi_core/controller/update_cluster/cluster_serializer.rb', line 9

def base_ingress_host
  managed_dns_zone = controller_settings_service.vcluster_settings_by_vcluster(object).managed_dns_zone

  [object.namespace, managed_dns_zone].join('.')
end