diff --git a/src/pages/views/explorer/explorerHeader.tsx b/src/pages/views/explorer/explorerHeader.tsx index 57f175e33..05f53d2c9 100644 --- a/src/pages/views/explorer/explorerHeader.tsx +++ b/src/pages/views/explorer/explorerHeader.tsx @@ -40,7 +40,7 @@ import { infrastructureAzureOptions, infrastructureGcpOptions, infrastructureIbmOptions, - infrastructureOcpCloudOptions, + // infrastructureOcpCloudOptions, // Todo: Temp disabled -- see https://issues.redhat.com/browse/COST-1483 infrastructureOcpOptions, ocpOptions, PerspectiveType, @@ -121,7 +121,9 @@ class ExplorerHeaderBase extends React.Component { const options = []; if (ocp) { options.push(...ocpOptions); - options.push(...infrastructureOcpCloudOptions); + // Todo: Temp disabled -- see https://issues.redhat.com/browse/COST-1483 + // + // options.push(...infrastructureOcpCloudOptions); } if (aws) { options.push(...infrastructureAwsOptions); diff --git a/src/pages/views/overview/overview.tsx b/src/pages/views/overview/overview.tsx index 39103d4b9..79fe3b75f 100644 --- a/src/pages/views/overview/overview.tsx +++ b/src/pages/views/overview/overview.tsx @@ -142,7 +142,10 @@ const infrastructureIbmOptions = [{ label: 'overview.perspective.ibm', value: 'i const infrastructureOcpOptions = [{ label: 'overview.perspective.ocp_usage', value: 'ocp_usage' }]; // Infrastructure Ocp cloud options -const infrastructureOcpCloudOptions = [{ label: 'overview.perspective.ocp_cloud', value: 'ocp_cloud' }]; +// +// Todo: Temp disabled -- see https://issues.redhat.com/browse/COST-1483 +// +// const infrastructureOcpCloudOptions = [{ label: 'overview.perspective.ocp_cloud', value: 'ocp_cloud' }]; class OverviewBase extends React.Component { protected defaultState: OverviewState = { @@ -223,9 +226,11 @@ class OverviewBase extends React.Component { }; private getDefaultInfrastructurePerspective = () => { - if (this.isOcpAvailable()) { - return InfrastructurePerspective.ocpCloud; - } + // Todo: Temp disabled -- see https://issues.redhat.com/browse/COST-1483 + // + // if (this.isOcpAvailable()) { + // return InfrastructurePerspective.ocpCloud; + // } if (this.isAwsAvailable()) { return InfrastructurePerspective.aws; } @@ -266,9 +271,11 @@ class OverviewBase extends React.Component { // Dynamically show options if providers are available const options = []; if (this.getCurrentTab() === OverviewTab.infrastructure) { - if (ocp) { - options.push(...infrastructureOcpCloudOptions); - } + // Todo: Temp disabled -- see https://issues.redhat.com/browse/COST-1483 + // + // if (ocp) { + // options.push(...infrastructureOcpCloudOptions); + // } if (aws) { options.push(...infrastructureAwsOptions); }