Skip to content

CRI: Mirror generic toml runtime config under server#8091

Merged
fuweid merged 1 commit intocontainerd:mainfrom
dcantah:mirror-generic-toml-change
Feb 12, 2023
Merged

CRI: Mirror generic toml runtime config under server#8091
fuweid merged 1 commit intocontainerd:mainfrom
dcantah:mirror-generic-toml-change

Conversation

@dcantah
Copy link
Copy Markdown
Member

@dcantah dcantah commented Feb 11, 2023

In #7764 it was made so that generic runtime options in the containerd toml config file would get passed to shims regardless of if containerd knew of the type beforehand and could supply the struct. However, this was only added for the sandbox server fork here and not the regular ol' CRI server. This change just mirrors the parts that need to be plopped in pkg/cri/server

In containerd#7764 it was made
so that generic runtime options in the containerd toml config file
would get passed to shims regardless of if containerd knew of the
type beforehand and could supply the struct. However, this was only
added for the sandbox server fork here and not the regular ol' CRI
server. This change just mirrors the parts that need to be plopped in
pkg/cri/server

Signed-off-by: Danny Canter <[email protected]>
@dcantah dcantah added area/cri Container Runtime Interface (CRI) easy-to-review Easy to review labels Feb 11, 2023
@dcantah dcantah added this to the 1.7 milestone Feb 11, 2023
@dcantah dcantah assigned dcantah and unassigned dcantah Feb 11, 2023
Copy link
Copy Markdown
Member

@fuweid fuweid left a comment

Choose a reason for hiding this comment

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

LGTM

It will be good to have test case . Not a blocker. Can be handled in followup

@fuweid fuweid merged commit 040fcf8 into containerd:main Feb 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/cri Container Runtime Interface (CRI) easy-to-review Easy to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants