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

Generated code failed to compile #397

Open
capacman opened this issue Sep 17, 2022 · 1 comment
Open

Generated code failed to compile #397

capacman opened this issue Sep 17, 2022 · 1 comment

Comments

@capacman
Copy link

Hi,

When i try to generate code for
appproject-crd.yaml
compiler says :

type JwtTokensByRole is not a member of object com.coralogix.zio.k8s.client.io.argoproj.definitions.appproject.v1alpha1.AppProject.Status
When i check generated code, i could not find JwtTokensByRole class in status. I am using version 2.0.1

@vigoo
Copy link
Collaborator

vigoo commented Sep 20, 2022

Thanks for reporting the problem!

This seems to be an issue in the guardrail library that we are using to generate code from the OpenAPI schema within the CRD. I opened an issue there:

guardrail-dev/guardrail#1591

Unfortunately even if it gets fixed there, it requires some work on the zio-k8s side to update to the latest guardrail version because it is depending on a quite customized older version. I started migrating to the new one and will continue once this issue get fixed there.

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

No branches or pull requests

2 participants