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.