|
@@ -28,6 +28,7 @@ import FormWrapper from "components/values-form/FormWrapper";
|
|
|
import RevisionSection from "./RevisionSection";
|
|
import RevisionSection from "./RevisionSection";
|
|
|
import ValuesYaml from "./ValuesYaml";
|
|
import ValuesYaml from "./ValuesYaml";
|
|
|
import GraphSection from "./GraphSection";
|
|
import GraphSection from "./GraphSection";
|
|
|
|
|
+import UpgradeSection from "./upgrade/UpgradeSection"
|
|
|
import MetricsSection from "./metrics/MetricsSection";
|
|
import MetricsSection from "./metrics/MetricsSection";
|
|
|
import ListSection from "./ListSection";
|
|
import ListSection from "./ListSection";
|
|
|
import StatusSection from "./status/StatusSection";
|
|
import StatusSection from "./status/StatusSection";
|
|
@@ -353,6 +354,8 @@ const ExpandedChart: React.FC<Props> = (props) => {
|
|
|
let chart = currentChart;
|
|
let chart = currentChart;
|
|
|
|
|
|
|
|
switch (currentTab) {
|
|
switch (currentTab) {
|
|
|
|
|
+ case "upgrade":
|
|
|
|
|
+ return <UpgradeSection currentChart={chart} />;
|
|
|
case "metrics":
|
|
case "metrics":
|
|
|
return <MetricsSection currentChart={chart} />;
|
|
return <MetricsSection currentChart={chart} />;
|
|
|
case "status":
|
|
case "status":
|
|
@@ -431,6 +434,9 @@ const ExpandedChart: React.FC<Props> = (props) => {
|
|
|
tabOptions.push({ label: "Metrics", value: "metrics" });
|
|
tabOptions.push({ label: "Metrics", value: "metrics" });
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ // TODO: case if upgrade is available
|
|
|
|
|
+ tabOptions.push({ label: "Upgrade", value: "upgrade" });
|
|
|
|
|
+
|
|
|
tabOptions.push({ label: "Chart Overview", value: "graph" });
|
|
tabOptions.push({ label: "Chart Overview", value: "graph" });
|
|
|
|
|
|
|
|
if (devOpsMode) {
|
|
if (devOpsMode) {
|