Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@haircommander
Copy link
Member

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?

Allow `crio.runtime.runtimes` configuration to be updated on reload.

elezar added 6 commits October 4, 2022 11:05
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]>
@openshift-ci openshift-ci bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/feature Categorizes issue or PR as related to a new feature. labels Oct 4, 2022
@haircommander haircommander changed the base branch from main to release-1.25 October 4, 2022 15:07
@openshift-ci openshift-ci bot added the dco-signoff: no Indicates the PR's author has not DCO signed all their commits. label Oct 4, 2022
@openshift-ci openshift-ci bot requested review from QiWang19 and klihub October 4, 2022 15:08
@haircommander
Copy link
Member Author

cc @elezar

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 4, 2022
Signed-off-by: Evan Lezar <[email protected]>
@openshift-ci openshift-ci bot added dco-signoff: yes Indicates the PR's author has DCO signed all their commits. and removed dco-signoff: no Indicates the PR's author has not DCO signed all their commits. labels Oct 4, 2022
@elezar
Copy link
Contributor

elezar commented Oct 4, 2022

Thanks @haircommander. Glad to see that this will make it into 1.25. Do you need anything else from me?

@codecov
Copy link

codecov bot commented Oct 4, 2022

Codecov Report

Merging #6270 (d95c224) into release-1.25 (2002c49) will increase coverage by 0.01%.
The diff coverage is 87.50%.

❗ Current head d95c224 differs from pull request most recent head aa329a1. Consider uploading reports for the commit aa329a1 to get more accurate results

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     

Copy link
Member

@mrunalp mrunalp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Oct 5, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 5, 2022

[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

Details Needs approval from an approver in each of these files:
  • OWNERS [haircommander,mrunalp]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. kind/feature Categorizes issue or PR as related to a new feature. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants