Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2023-03-22 15:10:52 +03:00
1 parent 175896384f
commit fce6695631
1 file changed
+3 -2
@@ -21,6 +21,9 @@ const cluster = new Cluster({
contextName: "some-context", contextName: "some-context",
id: "some-id", id: "some-id",
kubeConfigPath: "/some/path/to/kubeconfig", kubeConfigPath: "/some/path/to/kubeconfig",
preferences: {
clusterName: "some-cluster-name"
},
}, { }, {
clusterServerUrl: "https://localhost:9999", clusterServerUrl: "https://localhost:9999",
}); });
@@ -40,8 +43,6 @@ const clusterEntity = new KubernetesCluster({
}, },
}); });
cluster.preferences.clusterName = "some-cluster-name";
const newMenuItem = getInjectable({ const newMenuItem = getInjectable({
id: "cluster-icon-settings-menu-test-item", id: "cluster-icon-settings-menu-test-item",