diff --git a/plugins/kubernetes/package.json b/plugins/kubernetes/package.json index 76774fa589..8d621e0d88 100644 --- a/plugins/kubernetes/package.json +++ b/plugins/kubernetes/package.json @@ -63,7 +63,6 @@ "@backstage/core-components": "workspace:^", "@backstage/core-plugin-api": "workspace:^", "@backstage/frontend-plugin-api": "workspace:^", - "@backstage/plugin-catalog": "workspace:^", "@backstage/plugin-catalog-react": "workspace:^", "@backstage/plugin-kubernetes-common": "workspace:^", "@backstage/plugin-kubernetes-react": "workspace:^", diff --git a/plugins/kubernetes/src/alpha/entityContents.tsx b/plugins/kubernetes/src/alpha/entityContents.tsx index 6720865d3e..4be9aa5291 100644 --- a/plugins/kubernetes/src/alpha/entityContents.tsx +++ b/plugins/kubernetes/src/alpha/entityContents.tsx @@ -18,7 +18,6 @@ import React from 'react'; import { compatWrapper } from '@backstage/core-compat-api'; import { EntityContentBlueprint } from '@backstage/plugin-catalog-react/alpha'; import { isKubernetesAvailable } from '../Router'; -import { isKind } from '@backstage/plugin-catalog'; export const entityKubernetesContent = EntityContentBlueprint.make({ name: 'kubernetes', @@ -27,8 +26,6 @@ export const entityKubernetesContent = EntityContentBlueprint.make({ defaultTitle: 'Kubernetes', defaultGroup: 'deployment', filter: entity => { - if (!isKind('Component')) return false; - if (!isKind('Resource')) return false; if (!isKubernetesAvailable(entity)) return false; return true; }, diff --git a/yarn.lock b/yarn.lock index 2ab79a31ab..648c69d5cc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6718,7 +6718,6 @@ __metadata: "@backstage/core-plugin-api": "workspace:^" "@backstage/dev-utils": "workspace:^" "@backstage/frontend-plugin-api": "workspace:^" - "@backstage/plugin-catalog": "workspace:^" "@backstage/plugin-catalog-react": "workspace:^" "@backstage/plugin-kubernetes-common": "workspace:^" "@backstage/plugin-kubernetes-react": "workspace:^"