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

podman pod create --uts support #14501

Merged
merged 1 commit into from
Jul 6, 2022
Merged

Conversation

cdoern
Copy link
Contributor

@cdoern cdoern commented Jun 6, 2022

add support for the --uts flag in pod create, allowing users to avoid
issues with default values in containers.conf.

uts follows the same format as other namespace flags:
--uts=private (default), --uts=host, --uts=ns:PATH

resolves #13714

Signed-off-by: cdoern [email protected]

Does this PR introduce a user-facing change?

Users can now specify the --uts option when creating pods, specifying a pod wide uts mode for all containers.

@TomSweeneyRedHat
Copy link
Member

The whitespace demons are not happy with you @cdoern.

@cdoern
Copy link
Contributor Author

cdoern commented Jun 6, 2022

The whitespace demons are not happy with you @cdoern.

they are the bane of my existence @TomSweeneyRedHat

@rhatdan
Copy link
Member

rhatdan commented Jun 6, 2022

LGTM

1 similar comment
@TomSweeneyRedHat
Copy link
Member

LGTM

@cdoern
Copy link
Contributor Author

cdoern commented Jun 7, 2022

@containers/podman-maintainers PTAL

libpod/container.go Outdated Show resolved Hide resolved
libpod/container.go Outdated Show resolved Hide resolved
libpod/runtime_pod_linux.go Outdated Show resolved Hide resolved
pkg/specgen/generate/namespaces.go Outdated Show resolved Hide resolved
@openshift-ci openshift-ci bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 8, 2022
@openshift-ci openshift-ci bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 9, 2022
@cdoern cdoern force-pushed the podUTS branch 3 times, most recently from 8e3c0c1 to d08b8f9 Compare June 10, 2022 18:44
@cdoern
Copy link
Contributor Author

cdoern commented Jun 17, 2022

same goes for this one. do not merge until I add support in pod clone

@cdoern cdoern added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 17, 2022
@cdoern cdoern removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 17, 2022
@openshift-ci openshift-ci bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 26, 2022
@openshift-ci openshift-ci bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 28, 2022
libpod/container.go Outdated Show resolved Hide resolved
add support for the --uts flag in pod create, allowing users to avoid
issues with default values in containers.conf.

uts follows the same format as other namespace flags:
--uts=private (default), --uts=host, --uts=ns:PATH

resolves containers#13714

Signed-off-by: Charlie Doern <[email protected]>
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
@containers/podman-maintainers PTAL

@rhatdan
Copy link
Member

rhatdan commented Jul 5, 2022

/lgtm
/hold
/approve

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 5, 2022
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jul 5, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 5, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cdoern, rhatdan

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 5, 2022
@cdoern
Copy link
Contributor Author

cdoern commented Jul 6, 2022

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 6, 2022
@openshift-ci openshift-ci bot merged commit ca5bebb into containers:main Jul 6, 2022
@cdoern cdoern mentioned this pull request Jul 7, 2022
cdoern added a commit to cdoern/podman that referenced this pull request Jul 7, 2022
somehow, containers#14501 got through CI even though the remote tests fail. The testa are failing
due to the PodSpecGenerator not containing the UTSNs entitiy and infra's spec is not yet allowed to be accessed remotely

[NO NEW TESTS NEEDED]

resolves containers#14847

Signed-off-by: Charlie Doern <[email protected]>
edsantiago added a commit to edsantiago/libpod that referenced this pull request Jul 7, 2022
copy/paste error in containers#14501.

Signed-off-by: Ed Santiago <[email protected]>
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 21, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. release-note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Podman container image contains too many host namespaces
5 participants