Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions cmd/cofidectl/cmd/federation/federation.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ func checkFederationStatus(ctx context.Context, ds datasource.DataSource, kubeCo
}
return "Unknown", err.Error(), nil
}
if cluster.GetKubernetesContext() == "" {
return "Unknown", fmt.Sprintf("no kubernetes context for cluster %q in trust zone %q", cluster.GetName(), tz.GetName()), nil
}
Comment thread
alec-w marked this conversation as resolved.

if deployed, err := helm.IsClusterDeployed(ctx, cluster, kubeConfig); err != nil {
return "", "", err
Expand Down
Loading