Skip to content
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

containers.conf: add crun-vm as a runtime #1809

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

lsm5
Copy link
Member

@lsm5 lsm5 commented Jan 18, 2024

No description provided.

@rhatdan
Copy link
Member

rhatdan commented Jan 18, 2024

/approve
LGTM
@giuseppe @vrothberg @ashley-cui @baude @mheon PTAL

@mheon
Copy link
Member

mheon commented Jan 18, 2024

Doesn't this need to be added to the default config as well?

@lsm5
Copy link
Member Author

lsm5 commented Jan 18, 2024

Doesn't this need to be added to the default config as well?

where exactly is that located?

@mheon
Copy link
Member

mheon commented Jan 18, 2024

https://github.com/containers/common/blob/main/pkg/config/default.go#L357-L421 Was thinking it needed to go in there

Copy link
Member

@vrothberg vrothberg left a comment

Choose a reason for hiding this comment

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

Needs plumbing in the code, tests and docs. Maybe commit aec2850 can be of guidance for adding new fields to containers.conf.

@lsm5
Copy link
Member Author

lsm5 commented Jan 18, 2024

thanks all. I'll update this.

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
@lsm5
Copy link
Member Author

lsm5 commented Jan 19, 2024

Needs plumbing in the code, tests and docs. Maybe commit aec2850 can be of guidance for adding new fields to containers.conf.

doesn't look like we need anything of this sort here given it's only an additional option to OCIRuntimes. PTAL.

Copy link
Member

@vrothberg vrothberg left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

openshift-ci bot commented Jan 19, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lsm5, rhatdan, vrothberg

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

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

@vrothberg
Copy link
Member

Needs plumbing in the code, tests and docs. Maybe commit aec2850 can be of guidance for adding new fields to containers.conf.

doesn't look like we need anything of this sort here given it's only an additional option to OCIRuntimes. PTAL.

Very fair point! I missed that we're adding a new runtime, not a new field. Thanks for clarifying!

@lsm5
Copy link
Member Author

lsm5 commented Jan 19, 2024

LGTM

thanks @vrothberg

@albertofaria PTAL at the diff of containers.conf.5.md

@rhatdan
Copy link
Member

rhatdan commented Jan 19, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Jan 19, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 2c695fd into containers:main Jan 19, 2024
7 checks passed
@lsm5 lsm5 deleted the crun-vm branch January 22, 2024 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants