Bernhard Strähle

Results 45 comments of Bernhard Strähle

> The ting is that regardless of the exposing method (Gradle plugin, Maven plugin, CLI main method) all of them should share the same processing logic to avoid any gaps...

The prototype can now be found here: https://github.com/baloo42/kubernetes-client/pull/7 I extracted the shared code to a new module "crd-generator-collector" and refactored the maven plugin to use it.

In general: The idea comes from the official Java swagger-annotations: https://github.com/swagger-api/swagger-core/blob/master/modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media/Schema.java It contains any possible option a [Schema-Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.0.md#schema-object) allows. This approach follows the same principle but allows only those options...

I don't think it would be the fastest way. The problem is that we can't work on it in parallel, because each PR requires changes at the same places which...

Protoype: https://github.com/baloo42/kubernetes-client/pull/9

When do you plan to release v7 ? Can we chat somewhere on this topic?

My general suggestion on this topic is to create issues for each property first. Those issues should describe the solution (intended annotation(s), addditional structural validations) to get a clear picture...

@adriansuarez The problem with using Jakarta Bean Validation Annotations is, that they have slightly different semantics than constraints in Kubernetes. This was one of the reasons to introduce own annotations....

@manusa Can you have second look on this? Is this now going into the right direction? The logic to collect and load custom resource classes is now included in an...

@shawkins, @andreaTP Maybe you can have a look on this too. Marc has mentioned that he is not sure about the final / future purpose of the new module (me...