address a few code review comments
Signed-off-by: Jonah Back <jback@legalzoom.com>
This commit is contained in:
@@ -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)();
|
||||
|
||||
Reference in New Issue
Block a user