kctrl package release
creates an invalid OpenAPI spec from Helm Chart
#1630
Labels
bug
This issue describes a defect or unexpected behavior
carvel-accepted
This issue should be considered for future work and that the triage process has been completed
What steps did you take:
Given the following:
run
kctrl package release
What happened:
The following, invalid OpenAPIV3 was created. Specifically
.spec.valuesSchema.openAPIv3.properties.credentials.properties.[password|username].type="null"
is invalid asnull
is not a valid type by spec.What did you expect:
I'd have expected a valid type to be put into the schema.
Anything else you would like to add:
It appears if the following had been used, the type would have been
string
.Unfortunately after a run through
ytt
, thenull
s are put into place and that behavior is not preserved. I'd be open to this being the behavior in the place ofnull
as well.Environment:
kubectl get deployment -n kapp-controller kapp-controller -o yaml
and the annotation iskbld.k14s.io/images
): N/Akubectl version
): N/AVote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.
The text was updated successfully, but these errors were encountered: