v0.42.0
What Changed in this Release
Breaking Change
The signature of apiserver.NewDefaultInstaller has changed from accepting several resolver functions to a single resolver interface type. This new type is automatically generated in your manifest go file, and should be called GoTypeAssociator. You can pass a pointer to an instance of this type to NewDefaultInstaller as shown in the example apiserver.
Non-breaking changes
The YAML encoder used by the CLI has changed from gopkg.in/yaml.v3 to sigs.k8s.io/yaml to better match JSON output. This should not impact the actual contents of the generated YAML files, but the spacing used by the kubernetes YAML encoder is different from the gopkg one, so you may see large diffs if you generate YAML.
New Functionality
- The CLI will now generate typed go clients for your kinds, including any custom routes.
- Streaming list is now supported in operators and
k8s.Client
Changelog
- 03752d2 Add support for Streaming ListWatch watch options. (#928)
- 3561d64 Bump github.com/getkin/kin-openapi from 0.132.0 to 0.133.0 in the all group across 1 directory (#934)
- 1fb474d Bump github.com/grafana/grafana-app-sdk/logging from 0.41.0 to 0.41.1 in the all group (#927)
- d9f713a Bump github.com/stretchr/testify from 1.10.0 to 1.11.0 in /plugin in the all group (#933)
- 201ca1a Bump the all group in /plugin with 2 updates (#926)
- 33fca8e [CLI] Switch YAML encoder for CLI to
sigs.k8s.io/yaml(#925) - b9103db [codegen] Generate Typed Clients for Resources (#890)