mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 02:37:24 +08:00
Merge pull request #1123 in YUNIONIO/onecloud from ~LIZEXI/onecloud:feature/lzx-cluster-api to release/2.7.0
* commit 'b6fe9b80592be6a080c981c8af32a7ae293c5b84': k8s multi cluster api
This commit is contained in:
@@ -62,8 +62,7 @@ func fetchK8sEnv(ctx context.Context, w http.ResponseWriter, r *http.Request) (*
|
||||
}
|
||||
|
||||
data := jsonutils.NewDict()
|
||||
data.Add(jsonutils.JSONTrue, "directly")
|
||||
ret, err := k8s.Clusters.PerformAction(adminSession, cluster, "generate-kubeconfig", data)
|
||||
ret, err := k8s.KubeClusters.GetSpecific(adminSession, cluster, "kubeconfig", data)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user