Open ivanfoo opened 12 months ago
This happens because the CR is named Record
, which conflicts with the built-in TypeScript Record
.
We could potentially use globalThis.Record
instead. Need to research whether or not this works across the board.
In the meantime this can be worked around by providing a class name prefix to the import command:
cdk8s import --class-prefix Route53 https://raw.githubusercontent.com/upbound/provider-aws/main/package/crds/route53.aws.upbound.io_records.yaml
Description of the bug:
We are using CDK8S to generate all the components of our kubernetes applications, including AWS resources. We detected that the CRDs of the official crossplane AWS provider cannot be imported. However, the CRDs from the community provider can be imported just fine.
Reproduction Steps:
Using the CLI
Using the cdk8s.yaml config file
Error Log:
Environment:
We are running the import command process inside a container with:
Other:
I can use the crossplane community provider CRDs, but not the official upbound ones.
This is :bug: Bug Report