Skip to content

Conversation

shinebayar-g
Copy link
Contributor

@shinebayar-g shinebayar-g commented Sep 14, 2024

Fixes cdk8s-team/cdk8s#1962

Tried to tackle cdk8s-team/cdk8s#1962, turns out this is the only required change? Tested it on the following CRDs. Results seems correct.

npx cdk8s import --language typescript https://raw.githubusercontent.com/kubernetes-sigs/gateway-api/v1.1.0/config/crd/standard/gateway.networking.k8s.io_httproutes.yaml

npx cdk8s import --language typescript https://raw.githubusercontent.com/external-secrets/external-secrets/v0.10.3/deploy/crds/bundle.yaml

Unfortunately it'll be a breaking change.. 😞

…m/cdk8s#1962

Signed-off-by: Shinebayar Gansukh <3091558+shinebayar-g@users.noreply.github.com>
@iliapolo iliapolo changed the title fix!: always generate classes with version suffixes fix(import)!: always generate classes with version suffixes Dec 10, 2024
@iliapolo
Copy link
Member

@shinebayar-g As this is a breaking change, we won't be able to merge it without releasing a new major version.

Converting to draft until then.

@iliapolo iliapolo marked this pull request as draft September 28, 2025 14:12
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.

CRD versioning should be consistent. v1beta1, v1alpha1, v1 etc

2 participants