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!: always generate classes with version suffixes #2728

Open
wants to merge 2 commits into
base: 2.x
Choose a base branch
from

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>
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
1 participant