diff --git a/core/app/services/uffizzi_core/cluster_service.rb b/core/app/services/uffizzi_core/cluster_service.rb index 346e132d..f475faa2 100644 --- a/core/app/services/uffizzi_core/cluster_service.rb +++ b/core/app/services/uffizzi_core/cluster_service.rb @@ -30,7 +30,7 @@ def manage_deploying(cluster, try) deployed_cluster = UffizziCore::ControllerService.show_cluster(cluster) - if deployed_cluster.status.ready + if deployed_cluster.status.ready && deployed_cluster.status.kube_config.present? cluster.finish_deploy cluster.kubeconfig = deployed_cluster.status.kube_config cluster.save!