You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current operator-sdk generates a skeleton that doesn't include deepcopy functions for the custom resource. It is still compilable because non of the custom resource objects are being used by sdk.Watch() on default. However, if user changes sdk.Watch() to watch on the custom resource and then converts the watched object to the custom resource type, then the code becomes non-compilable.
To resolve this potential issue, the operator-sdk new should generate deepcopy functions for the custom resource when creating a new project.