-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[crd-generator] Map properties lack additionalProperties #3041
Comments
metacosm
added a commit
that referenced
this issue
May 3, 2021
metacosm
added a commit
that referenced
this issue
May 3, 2021
11 tasks
metacosm
added a commit
that referenced
this issue
May 4, 2021
metacosm
added a commit
that referenced
this issue
May 12, 2021
manusa
pushed a commit
that referenced
this issue
May 12, 2021
manusa
pushed a commit
that referenced
this issue
May 12, 2021
ddl-audi
pushed a commit
to ddl-audi/kubernetes-client
that referenced
this issue
May 14, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I've been migrating some internal operator from the go-based CRD generation to the Java based one. Thanks for this lib.
One issue I had during the migration is that when a Spec Pojo has a Map property (in my case Map<String, String>), the generated property in the schema is of
type: object
but has noadditionalProperties
field.Example property
When using using the Go generator, the generated schema is
When using using the Java based generator, the schema is
This make Kubernetes reject my CustomResource when the map is not empty.
My current workaround is
The text was updated successfully, but these errors were encountered: