fix synced clusters not connectable

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2021-04-28 17:33:04 -04:00
1 parent b953022c47
commit d410596997
1 file changed
+2
@@ -157,6 +157,8 @@ export function computeDiff(contents: string, source: RootSource, port: number,
throw new Error("Cluster constructor failed, see above error");
}
cluster.init(port);
const entity = catalogEntityFromCluster(cluster);
entity.metadata.labels.KUBECONFIG_SYNC = filePath;