-
Notifications
You must be signed in to change notification settings - Fork 407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support struct embedding #244
Comments
can you please provide the actual struct that you're using? Embedded fields should be handled fine. |
you'll need to mark the field with |
@DirectXMan12 thanks for the hint. I will try that. The field is this one: https://github.com/GoogleCloudPlatform/spark-on-k8s-operator/blob/2c6e9781be7ba0d13272d21a28cc850806f5f39d/pkg/apis/sparkoperator.k8s.io/v1beta1/types.go#L409. |
yeah, that just needs the tag |
@DirectXMan12 feel free to close it. It worked thanks! |
I am hitting this one:
controller-tools/pkg/crd/schema.go
Line 325 in abcf7d8
While my types are valid. They just use struct embedding.
The text was updated successfully, but these errors were encountered: