diff --git a/frontend/packages/operator-lifecycle-manager/src/hooks/useOperatorCatalogItems.tsx b/frontend/packages/operator-lifecycle-manager/src/hooks/useOperatorCatalogItems.tsx index 8f103e40512..d3acc5cdc5d 100644 --- a/frontend/packages/operator-lifecycle-manager/src/hooks/useOperatorCatalogItems.tsx +++ b/frontend/packages/operator-lifecycle-manager/src/hooks/useOperatorCatalogItems.tsx @@ -72,11 +72,8 @@ export const useOperatorCatalogItems = () => { clusterServiceVersionsLoaded, clusterServiceVersionsLoadError, ] = useClusterServiceVersions(namespace); - const [ - cloudCredentials, - cloudCredentialsLoaded, - cloudCredentialsLoadError, - ] = useClusterCloudCredentialConfig(); + // cloudCredentials are optional + const [cloudCredentials] = useClusterCloudCredentialConfig(); const [ infrastructure, infrastructureLoaded, @@ -98,12 +95,10 @@ export const useOperatorCatalogItems = () => { operatorHubPackageManifestsLoaded && subscriptionsLoaded && clusterServiceVersionsLoaded && - cloudCredentialsLoaded && infrastructureLoaded && authenticationLoaded, [ authenticationLoaded, - cloudCredentialsLoaded, clusterServiceVersionsLoaded, infrastructureLoaded, operatorGroupsLoaded, @@ -119,13 +114,11 @@ export const useOperatorCatalogItems = () => { operatorHubPackageManifestsLoadError, subscriptionsLoadError, clusterServiceVersionsLoadError, - cloudCredentialsLoadError, infrastructureLoadError, authenticationLoadError, ), [ authenticationLoadError, - cloudCredentialsLoadError, clusterServiceVersionsLoadError, infrastructureLoadError, operatorHubPackageManifestsLoadError,