-
Notifications
You must be signed in to change notification settings - Fork 52
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
nullable does not allow null as a value #39
Comments
workaround I'm using for anyone experiencing similar:
|
Hi @chasain , |
@chasain can you take a look at the referenced PR? It fixes the reported issue |
doesn't look like it, I now have the schema of
but I still get
I was only able to get rid of it by changing type to
|
Could you provide more information on where do you get the error:
? |
Just tested the latest version to see if this fixed my issue but it unfortunately has not. I'm running the command My helm version is |
@chasain I am able to get this error:
But it does not show the parameter that is failing, how did you figure out that? |
Hmm, odd that's a pretty different error than I get, mine just looks like this:
for a values file like
|
mmm looks like the schema generated is correct. |
Ok, look like helm is using this library which is pinned to Draft 07 of jsonschema.org and doesn't support OpenAPI's version of the schema. If I manually edit the schema to the 3.1 format as specified in that stackoverflow article it does work, ie.
|
you can test the fix yourself with the workaround I commented earlier
|
Thank you very much for the confirmation. I will create a task to fix this. |
Using a paramater like:
gives a schema definition of:
which doesn't allow for actual null values.
if I manually change the schema to:
then it seems to work correctly
The text was updated successfully, but these errors were encountered: