diff --git a/core/app/serializers/uffizzi_core/controller/create_cluster/cluster_serializer.rb b/core/app/serializers/uffizzi_core/controller/create_cluster/cluster_serializer.rb index aaf5cf30..ba7eb9ad 100644 --- a/core/app/serializers/uffizzi_core/controller/create_cluster/cluster_serializer.rb +++ b/core/app/serializers/uffizzi_core/controller/create_cluster/cluster_serializer.rb @@ -4,7 +4,7 @@ class UffizziCore::Controller::CreateCluster::ClusterSerializer < UffizziCore::B include UffizziCore::DependencyInjectionConcern include_module_if_exists('UffizziCore::Controller::CreateCluster::ClusterSerializerModule') - attributes :name, :manifest, :base_ingress_host, :distro, :image, :provider + attributes :name, :manifest, :base_ingress_host, :distro, :image, :node_selector def base_ingress_host managed_dns_zone = controller_settings_service.vcluster_settings_by_vcluster(object).managed_dns_zone @@ -12,10 +12,6 @@ def base_ingress_host [object.namespace, managed_dns_zone].join('.') end - def provider - object.node_selector - end - def image kubernetes_distribution.image end