Is it possible for a controller to own a dynamic type? #922
empath-nirvana
started this conversation in
General
Replies: 2 comments
|
There's a few options available to you noted in the controller-guide under dynamic typing. Basically, either use |
0 replies
|
So there are really two questions involved here.
No! Unknown fields will be ignored, you only need to add the fields you actually care about reading. Just make sure to not apply the generated CRD definition in this case.
Yes! You just need to use the |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
i have a controller that updates a third party resource that has a fairly complex spec that I don't really feel like fully implementing, so I did it with a dynamic type, but I'm trying to figure out how to make it own the type and running into this error:
type mismatch resolving::DynamicType == ()`Do I have to implement every 3rd party struct that I want to own with a controller or is there a way to own a dynamically typed object?
All reactions