dhall-haskell
dhall-haskell copied to clipboard
Add `full` duplicates option
Sometimes even within the same kubernetes cluster you'd like to work with different api versions of a given resource. This is currently not easy considering that only a single "SimpleModelName" can be exposed in the top level package.
This adds two --duplicates options.
-
full
which esckews the short names used previously in favor of the full model name from the openapi definition. -
nested
which is similar tofull
but also splits on '.' making nested records. The exception is the typeUnion which keeps identical behavior tofull
.
Other instances where this is necessary include CRDs using the same kind as native kubernetes type. I.e. Calico NetworkPolicy.
Requires #2134