diff --git a/.changeset/plenty-books-peel.md b/.changeset/plenty-books-peel.md index 6efd32bc36..3f8e25c943 100644 --- a/.changeset/plenty-books-peel.md +++ b/.changeset/plenty-books-peel.md @@ -1,6 +1,16 @@ --- -'@backstage/plugin-catalog-backend-module-aws': minor '@backstage/plugin-kubernetes-backend': minor --- Add support for Kubernetes clusters in the catalog. + +The KubernetesBuilder.createBuilder method now requires an additional field, +discovery. To update your backend, you will want to do something like the following: + +```javascript +KubernetesBuilder.createBuilder({ + config: env.config, + logger: env.config, + discovery: env.discovery, + }) +``` diff --git a/plugins/catalog-backend-module-aws/src/processors/AwsEKSClusterProcessor.test.ts b/plugins/catalog-backend-module-aws/src/processors/AwsEKSClusterProcessor.test.ts index 19730a674e..fc44f5f912 100644 --- a/plugins/catalog-backend-module-aws/src/processors/AwsEKSClusterProcessor.test.ts +++ b/plugins/catalog-backend-module-aws/src/processors/AwsEKSClusterProcessor.test.ts @@ -18,7 +18,7 @@ import { AwsEKSClusterProcessor } from './AwsEKSClusterProcessor'; import AWSMock from 'aws-sdk-mock'; import aws from 'aws-sdk'; -describe('AwsOrganizationCloudAccountProcessor', () => { +describe('AwsEKSClusterProcessor', () => { AWSMock.setSDKInstance(aws); describe('readLocation', () => { const processor = new (AwsEKSClusterProcessor as any)();