Skip to content

Conversation

@monestereo
Copy link

Hey again :)

thanks for merging the last fix so quickly and thanks for the project in general!

I just found another little edge-case in the crd-generator, when generating crds for kyverno and then installing kyverno-policies helm chart.

They use fields which have x-kubernetes-preserve-unknown-fields without any type hint extensively. In this case the generator still expected an attrset in nix, but it can per spec be any json value. In kyverno it was given an array, which led to an error. Now it's just types.unspecified when x-kubernetes-preserve-unknown-fields is given without any type hints.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant