Skip to content

Commit

Permalink
[430] check for non-empty kubeconfig response
Browse files Browse the repository at this point in the history
  • Loading branch information
moklidia committed Jun 30, 2023
1 parent be8cf02 commit b86757b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/app/services/uffizzi_core/cluster_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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!
Expand Down

0 comments on commit b86757b

Please sign in to comment.