-
Notifications
You must be signed in to change notification settings - Fork 104
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
How could I use a struct as a parameter ? #951
Comments
Hi @abmybgx would you mind proposing a syntax for this? Would love to see your thoughts here. |
Closing in favour of #1221 which has more traction. Please reopen if you think this is something else. |
@porridge Is the function would be ready on v0.11 release, and how to use it? |
@abmybgx there are 3 pieces to this feature w.r.t. your use case:
|
@porridge Thanks for your comment. And what about the case of below?
|
@abmybgx what is the question exactly? FWIW this is not valid YAML, but something like this would be allowed, once KEP-26 implementation is merged (probably in kudo |
@porridge I mean maybe I need a param named tolerations and how could I mapping the struct like that? Did mean the below is usable now?
|
@abmybgx no, because currently there is nowhere you could put the above document in.
|
What would you like to be added:
Define a struct as a parameter
Why is this needed:
When I'd like to use node-affinity or tolerations in my operatorVersions, parameter type string is not easy to achieve.
The text was updated successfully, but these errors were encountered: