-
-
Notifications
You must be signed in to change notification settings - Fork 323
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
Provide cluster info to exec plugins #1331
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1331 +/- ##
=======================================
- Coverage 72.1% 72.1% -0.0%
=======================================
Files 75 75
Lines 6390 6434 +44
=======================================
+ Hits 4606 4635 +29
- Misses 1784 1799 +15
|
166c808
to
a702f2e
Compare
Hey @clux - I believe this is ready for review - I haven't tested it properly (nor written tests) - I plan to test it manually soon, then write some tests when you thumbs up the implementation as I took some decisions that can be controversial (how we store the cluster info, how we translate it, when we do it, etc.) |
a702f2e
to
e7dbf25
Compare
is the controversial bit the extra struct stored on if this is deviating from the upstream ExecConfig (which it looks like it does), it might be worth considering storing this in the preferences section of the |
@clux I don't think it belongs into the preferences as it's not serialized/deserialized and it'd be weird to pass it that way. |
Regarding tests, I think the best thing would to incorporate the code change in |
Short update - the impacted user tested my changed and it worked :) |
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.
i think this in general makes sense.
some questions initially
Signed-off-by: Aviram Hassan <[email protected]>
e0beab1
to
2558b89
Compare
The one thing i would like to have here before merging is a serialization test case; some yaml that users have that is passed to the deserialize impl for the struct (just so we know what we are dealing with down the line during inevitable refactorings). |
Done! :) |
Signed-off-by: Aviram Hassan <[email protected]>
7e88d46
to
0f05d35
Compare
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.
Thank you!
Forgot to merge this in during the release setup for 0.87, but it's in now - for 0.88. |
Thank you @clux for the great maintenance!! ❤️ |
Closes #1328