-
Notifications
You must be signed in to change notification settings - Fork 24
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
balloons: implement groupBy option #278
balloons: implement groupBy option #278
Conversation
d80d51e
to
66d7c54
Compare
@askervin Can you run locally a That would get us rid of the failed minimal verification. |
66d7c54
to
ea01fdb
Compare
Expose evaluation of (potentially joint) pod and container key references using the newly added EvalRef() Evaluable interface. This allows one to evaluate the values of key references which originally were only used in expressions without having to put an expression around such references. Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Implement Expand() which scans an input string, substituting plain $keys and/or well-formed ${keys} in the output with the referenced values. Add corresponding convenience wrappers to pods and containers. Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
groupBy groups containers into same balloon instances if their groupBy expressions evaluate to the same group. Expressions are strings where key references like ${pod/labels/mylabel} will be substituted with corresponding values. Signed-off-by: Antti Kervinen <antti.kervinen@intel.com>
Signed-off-by: Antti Kervinen <antti.kervinen@intel.com>
Signed-off-by: Antti Kervinen <antti.kervinen@intel.com>
Signed-off-by: Antti Kervinen <antti.kervinen@intel.com>
ea01fdb
to
38d9f93
Compare
This looks otherwise fine, but looks like it requires a manual rebase due to conflicts. @askervin If you rebase it, I can LGTM it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
groupBy enables grouping containers into balloon instances.
Stacked on top of PR #277.