address a few code review comments

Signed-off-by: Jonah Back <jback@legalzoom.com>
This commit is contained in:
Jonah Back
2022-06-21 15:40:04 -07:00
parent 9462a2ce8d
commit c8764b7fd7
2 changed files with 12 additions and 2 deletions
+11 -1
View File
@@ -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,
})
```
@@ -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)();