-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[1.25] Allow runtimes to be reloaded #6270
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
[1.25] Allow runtimes to be reloaded #6270
Conversation
Since we want to validate the default runtime separately when reloading the runtime config we factor out default runtime validation into a ValidateDefaultRuntime method. Signed-off-by: Evan Lezar <[email protected]>
This change cleans up the conditional checks in ValidateDefaultRuntime for readability. Signed-off-by: Evan Lezar <[email protected]>
This change includes the update of runtime configs on a config reload. This is currently limited to: * Changing the default runtime * Adding new runtimes Signed-off-by: Evan Lezar <[email protected]>
Signed-off-by: Evan Lezar <[email protected]>
Signed-off-by: Evan Lezar <[email protected]>
Signed-off-by: Evan Lezar <[email protected]>
|
cc @elezar |
Signed-off-by: Evan Lezar <[email protected]>
d95c224 to
aa329a1
Compare
|
Thanks @haircommander. Glad to see that this will make it into 1.25. Do you need anything else from me? |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## release-1.25 #6270 +/- ##
================================================
+ Coverage 43.67% 43.69% +0.01%
================================================
Files 122 122
Lines 13625 13659 +34
================================================
+ Hits 5951 5968 +17
- Misses 7030 7046 +16
- Partials 644 645 +1 |
mrunalp
left a comment
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
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: haircommander, mrunalp The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind feature
What this PR does / why we need it:
cherry-pick of #6248 and #6056
Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?