@@ -517,4 +517,4 @@ const HelmVMClusterManagement = ({
);
};
-export default HelmVMClusterManagement;
+export default EmbeddedClusterManagement;
diff --git a/web/src/components/apps/HelmVMViewNode.jsx b/web/src/components/apps/EmbeddedClusterViewNode.jsx
similarity index 96%
rename from web/src/components/apps/HelmVMViewNode.jsx
rename to web/src/components/apps/EmbeddedClusterViewNode.jsx
index f7b3452524..9481e33436 100644
--- a/web/src/components/apps/HelmVMViewNode.jsx
+++ b/web/src/components/apps/EmbeddedClusterViewNode.jsx
@@ -36,14 +36,14 @@ const testData = undefined;
// ],
// };
-const HelmVMViewNode = () => {
+const EmbeddedClusterViewNode = () => {
const { slug, nodeName } = useParams();
const { data: nodeData, isLoading: nodeLoading } = useQuery({
- queryKey: ["helmVmNode", nodeName],
+ queryKey: ["embeddedClusterNode", nodeName],
queryFn: async ({ queryKey }) => {
const [, nodeName] = queryKey;
return (
- await fetch(`${process.env.API_ENDPOINT}/helmvm/node/${nodeName}`, {
+ await fetch(`${process.env.API_ENDPOINT}/embedded-cluster/node/${nodeName}`, {
headers: {
Accept: "application/json",
},
@@ -239,4 +239,4 @@ const HelmVMViewNode = () => {
);
};
-export default HelmVMViewNode;
+export default EmbeddedClusterViewNode;
diff --git a/web/src/components/apps/HelmVMNodeRow.test.js b/web/src/components/apps/EmbeddedClustrNodeRow.test.js
similarity index 57%
rename from web/src/components/apps/HelmVMNodeRow.test.js
rename to web/src/components/apps/EmbeddedClustrNodeRow.test.js
index b7a4d8324c..18b6d130ad 100644
--- a/web/src/components/apps/HelmVMNodeRow.test.js
+++ b/web/src/components/apps/EmbeddedClustrNodeRow.test.js
@@ -1,3 +1,3 @@
-describe("HelmVMNodeRow", () => {
+describe("EmbeddedClusterNodeRow", () => {
it.todo("upgrade to react 18 and add unit tests");
});
diff --git a/web/src/components/shared/NavBar.tsx b/web/src/components/shared/NavBar.tsx
index 09c6dc2c9d..109c74df5e 100644
--- a/web/src/components/shared/NavBar.tsx
+++ b/web/src/components/shared/NavBar.tsx
@@ -1,14 +1,14 @@
-import React, { PureComponent } from "react";
+import React, {PureComponent} from "react";
import PropTypes from "prop-types";
import classNames from "classnames";
-import { withRouter, RouterProps } from "@src/utilities/react-router-utilities";
-import { Link } from "react-router-dom";
-import { Utilities } from "@src/utilities/utilities";
+import {RouterProps, withRouter} from "@src/utilities/react-router-utilities";
+import {Link} from "react-router-dom";
+import {Utilities} from "@src/utilities/utilities";
import ErrorModal from "../modals/ErrorModal";
import NavBarDropdown from "./NavBarDropdown";
import "@src/scss/components/shared/NavBar.scss";
-import { App } from "@types";
+import {App} from "@types";
type Props = {
appsList: App[];
@@ -19,7 +19,7 @@ type Props = {
isHelmManaged: boolean;
isIdentityServiceSupported: boolean;
isKurlEnabled: boolean;
- isHelmVMEnabled: boolean;
+ isEmbeddedClusterEnabled: boolean;
isSnapshotsSupported: boolean;
logo: string | null;
onLogoutError: (message: string) => void;
@@ -144,7 +144,7 @@ export class NavBar extends PureComponent