Remove in-tree extensions to help facilitate a more secure and faster booting lens (#6775)

* Remove kube-object-event-status extension

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Remove cluster-metrics-feature intree extension

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Remove lens-node-menu intree extension

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Remove lens-pod-menu intree extension

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Remove building extensions as part of build

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Remove integration test touching previously bundled code

Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton authored and GitHub committed 2022-12-20 07:53:33 -05:00
1 parent 10849ae027
commit 8db81a4731
48 files changed
+5 -2812

No files matched your search

@@ -76,60 +76,6 @@ describeIf(minikubeReady(TEST_NAMESPACE))("Minikube based tests", () => {
10 * 60 * 1000,
);
it(
"show logs and highlight the log search entries",
async () => {
await navigateToPods(frame);
const namespacesSelector = await frame.waitForSelector(
".NamespaceSelect",
);
await namespacesSelector.click();
await namespacesSelector.type("kube-system");
await namespacesSelector.press("Enter");
await namespacesSelector.click();
const kubeApiServerRow = await frame.waitForSelector(
"div.TableCell >> text=kube-apiserver",
);
await kubeApiServerRow.click();
await frame.waitForSelector(".Drawer", { state: "visible" });
const showPodLogsIcon = await frame.waitForSelector(
".Drawer .drawer-title .Icon >> text=subject",
);
showPodLogsIcon.click();
// Check if controls are available
await frame.waitForSelector(".Dock.isOpen");
await frame.waitForSelector(".LogList .VirtualList");
await frame.waitForSelector(".LogResourceSelector");
const logSearchInput = await frame.waitForSelector(
".LogSearch .SearchInput input",
);
await logSearchInput.type(":");
await frame.waitForSelector(".LogList .list span.active");
const showTimestampsButton = await frame.waitForSelector(
"[data-testid='log-controls'] .show-timestamps",
);
await showTimestampsButton.click();
const showPreviousButton = await frame.waitForSelector(
"[data-testid='log-controls'] .show-previous",
);
await showPreviousButton.click();
},
10 * 60 * 1000,
);
it(
"should show the default namespaces",
async () => {