What Changed in this Release
CRD generation from the grafana-app-sdk generate
command has been updated to abide by kubernetes' structural schema requirements for CRDs with respect to use of anyOf
, oneOf
, and allOf
. CRDs generated from CUE schemas with disjunctions will now use a unified set of the disjunction schemas as the properties
, and only use oneOf
to clarify required (or should-not-be-present) fields. Use of anyOf
for disjunctions has been replaced with oneOf
, to better match the behavior of the CUE OpenAPI serializer.
An optional resource.ClientGenerator
can now be passed in the simple.AppConfig
to allow customizing the ClientGenerator
used by the app's informers. If not provided in the config, it will continue to default to a k8s.ClientRegistry
instantiated with the kubeconfig and default client config.
Changelog
- e400c04 Bump the all group in /plugin with 2 updates (#1021)
- 4f5efe4 [CRD Generation] Abide by Structural Schema Constrains for
anyOf
,allOf
, andoneOf
(#1018) - 52aae37 [codegen] Upgrade cog to v0.0.44 and regenerate golden test files (#1020)
- b0c2bdd [simple.App] Allow Config to Supply a ClientGenerator (#1023)