Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix config validation errors #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cquinones100
Copy link

@cquinones100 cquinones100 commented Jan 23, 2024

Bumping backstage to 0.25.1 causes the following validation error:

Backend failed to start up Error: Invalid configuration schema in ../../node_modules/@antoinedao/backstage-provider-kubernetes/config.d.ts, the following definitions are not supported:

Record<string,{cluster:string;filters?:{resources?:any[]|undefined;namespace?:string|undefined;labelSelector?:string|undefined;}|undefined;processor?:{namespaceOverride?:string|undefined;lifecyle?:string|undefined;defaultOwner?:string|undefined;}|undefined;schedule?:any;}>

It appears that Record is not supported

Bumping backstage to 0.25.1 causes the following validation error:

Backend failed to start up Error: Invalid configuration schema in ../../node_modules/@antoinedao/backstage-provider-kubernetes/config.d.ts, the following definitions are not supported:

Record<string,{cluster:string;filters?:{resources?:any[]|undefined;namespace?:string|undefined;labelSelector?:string|undefined;}|undefined;processor?:{namespaceOverride?:string|undefined;lifecyle?:string|undefined;defaultOwner?:string|undefined;}|undefined;schedule?:any;}>

It appears that `Record` is not supported
@cquinones100
Copy link
Author

Thanks for the review @thiago-scherrer unfortunately this PR is going nowhere until @AntoineDao can merge it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants