diff --git a/packages/app/src/components/catalog/EntityPage.tsx b/packages/app/src/components/catalog/EntityPage.tsx index e3c7d11..fd19d9a 100644 --- a/packages/app/src/components/catalog/EntityPage.tsx +++ b/packages/app/src/components/catalog/EntityPage.tsx @@ -57,7 +57,6 @@ import { import { TechDocsAddons } from '@backstage/plugin-techdocs-react'; import { ReportIssue } from '@backstage/plugin-techdocs-module-addons-contrib'; -import { EntityKubernetesContent } from '@backstage/plugin-kubernetes'; import { EntityCircleCIContent, isCircleCIAvailable, @@ -186,10 +185,6 @@ const serviceEntityPage = ( {techdocsContent} - - - - ); diff --git a/packages/backend/src/index.ts b/packages/backend/src/index.ts index 279ccd4..02f647a 100644 --- a/packages/backend/src/index.ts +++ b/packages/backend/src/index.ts @@ -31,8 +31,6 @@ import search from './plugins/search'; import { PluginEnvironment } from './types'; import { ServerPermissionClient } from '@backstage/plugin-permission-node'; import { DefaultIdentityClient } from '@backstage/plugin-auth-node'; -import kubernetes from './plugins/kubernetes'; - function makeCreateEnv(config: Config) { const root = getRootLogger(); @@ -87,7 +85,6 @@ async function main() { const techdocsEnv = useHotMemoize(module, () => createEnv('techdocs')); const searchEnv = useHotMemoize(module, () => createEnv('search')); const appEnv = useHotMemoize(module, () => createEnv('app')); - const kubernetesEnv = useHotMemoize(module, () => createEnv('kubernetes')); const apiRouter = Router(); @@ -97,7 +94,6 @@ async function main() { apiRouter.use('/techdocs', await techdocs(techdocsEnv)); apiRouter.use('/proxy', await proxy(proxyEnv)); apiRouter.use('/search', await search(searchEnv)); - apiRouter.use('/kubernetes', await kubernetes(kubernetesEnv)); // Add backends ABOVE this line; this 404 handler is the catch-all fallback diff --git a/packages/backend/src/plugins/kubernetes.ts b/packages/backend/src/plugins/kubernetes.ts deleted file mode 100644 index dd90bdf..0000000 --- a/packages/backend/src/plugins/kubernetes.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { KubernetesBuilder } from '@backstage/plugin-kubernetes-backend'; -import { Router } from 'express'; -import { PluginEnvironment } from '../types'; -import { CatalogClient } from '@backstage/catalog-client'; - -export default async function createPlugin( - env: PluginEnvironment, -): Promise { - const catalogApi = new CatalogClient({ discoveryApi: env.discovery }); - const { router } = await KubernetesBuilder.createBuilder({ - logger: env.logger, - config: env.config, - catalogApi, - permissions: env.permissions, - }).build(); - return router; -}