java crd generate not working
See original GitHub issueDescribe the bug
crd to java pojo , some error when use java pojo
Fabric8 Kubernetes Client version
5.10.1@latest
Steps to reproduce
crd files https://github.com/karmada-io/karmada/tree/master/charts/_crds/bases
ls ~/project/karmada/charts/_crds/bases|xargs -I{} java-gen -crd bases/{} -dest /tmp/test
Expected behavior
project/karmada-java-client/target/classes/generated/io/karmada/work/v1alpha2/ResourceBindingSpecFluentImpl.java:19:78 java: 找不到符号 符号: 类 ResourceBindingSpecFluent 位置: 程序包 io.karmada.work.v1alpha2
Runtime
Kubernetes (vanilla)
Kubernetes API Server version
1.20.12
Environment
macOS
Fabric8 Kubernetes Client Logs
No response
Additional context
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
CRD Generation seems to have broken · Issue #1915 - GitHub
CI/CD for CRD generation is failing with the following error: ... Not sure why this is suddenly failing since it looks like there...
Read more >CRD creation with java-client for Kubernetes - Stack Overflow
Yes, But not only with java client. So first use some lib to read yaml and convert it to JSON. And then USe...
Read more >Using sample Operators - java-operator-sdk
Automatic generation of CRDs #. To automatically generate CRD manifests from your annotated Custom Resource classes, you only need to add the following ......
Read more >Part 2: How to Create a Spring Boot Kubernetes Controller
In my earlier article here, we saw how we can create a Kubernetes Custom Resource Definition (CRD) and deploy it to a Kubernetes...
Read more >New HTTP clients, a Java generator, and more in Fabric8 6.0.0
The Fabric8 Kubernetes client has been simplifying Java ... In 6.0, several issues have been addressed, including #3407 and #3973, that make ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
thank you very much
@chestarss the problem is in your build configuration, not related to anything produced by this repository.
You can find here a minimal example that shows the “karmada” generated code does compile: https://github.com/andreaTP/example_karmada
and can be used as expected: https://github.com/andreaTP/example_karmada/blob/main/src/main/java/Main.java