kubenix icon indicating copy to clipboard operation
kubenix copied to clipboard

verify workaround for self-referential module types

Open hall opened this issue 2 years ago • 0 comments

In https://github.com/hall/kubenix/commit/6dfa8e81c72fced722b7182350d82a51128ff059, I've set any option whose type is its own module's type to unspecified. I'm opening this issue to go back, at some point, and verify that this is the correct approach (as doing so removes validation for any option which meets the definition).

This scenario occurs b/c the CRD type includes the JSONSchemaProps field which has fields (anyOf, allOf, oneOf, and not) of that same type; that is, JSONSchemaProps "appears in" JSONSchemaProps:

image

hall avatar Aug 28 '22 06:08 hall