/kubebuilder-inlining-test

A test repository to illustrate a possible bug for a bug report

Primary LanguageGoApache License 2.0Apache-2.0

kubebuilder inlining test

This is a test repo to diagnose a possible controller-runtime bug with deserializing inlined structs in a CRD. See the this issue.

When loading a Guestbook using Client.Get() in the Reconcile() method, the GuestbookSpec.GuestbookDefinition field's values will remain empty, while the values of GuestbookSpec.GuestbookDefinitionNotInlined will be filled.

The example resource used in this example is ./config/samples/webapp_v1_guestbook.yaml.