Skip to content

[WIP] Podman6: remove CNI#6453

Draft
lsm5 wants to merge 5 commits intocontainers:mainfrom
lsm5:podman6-no-cni
Draft

[WIP] Podman6: remove CNI#6453
lsm5 wants to merge 5 commits intocontainers:mainfrom
lsm5:podman6-no-cni

Conversation

@lsm5
Copy link
Member

@lsm5 lsm5 commented Oct 26, 2025

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

Removes CNI for podman6

How to verify it

check if any CNI stuff still exists

Which issue(s) this PR fixes:

Special notes for your reviewer:

None

Does this PR introduce a user-facing change?

CNI support has been removed.

@lsm5 lsm5 added the podman 6 breaking changes that should only go into podman 6 label Oct 26, 2025
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 26, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lsm5

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:

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

@packit-as-a-service
Copy link

Ephemeral COPR build failed. @containers/packit-build please check.

1 similar comment
@packit-as-a-service
Copy link

Ephemeral COPR build failed. @containers/packit-build please check.

@lsm5 lsm5 force-pushed the podman6-no-cni branch 4 times, most recently from 32e105a to 79be198 Compare October 26, 2025 18:57
@github-actions
Copy link

A friendly reminder that this PR had no activity for 30 days.

lsm5 added 5 commits March 4, 2026 15:52
Signed-off-by: Lokesh Mandvekar <[email protected]>
Buildah no longer uses CNI for networking, so remove CNI spec version
and libcni version from the version command output, build-time linker
flags, and RPM spec. Also drop the FreeBSD CNI build tag from the
Makefile since netavark is now the only supported network backend.
Remove CNIPluginPath and CNIConfigDir fields from Builder,
BuilderInfo, BuilderOptions, RunOptions, and BuildOptions structs.
Remove --cni-config-dir and --cni-plugin-path CLI flags. Simplify
getNetworkInterface() to no longer accept CNI-specific parameters
since netavark is now the only supported network backend.
Remove the docs/cni-examples/ directory, CNI installation section from
install.md, and CNI fields from version man page. Remove the "from cni
config test" from tests/from.bats and clean up --cni-config-dir usage
from tests/namespaces.bats. Update comments that referenced CNI to
use generic network terminology.
Remove the github.com/containernetworking/cni module from go.mod,
go.sum, and vendor since it is no longer used.
@lsm5 lsm5 force-pushed the podman6-no-cni branch from 79be198 to 0032890 Compare March 4, 2026 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved do-not-merge/work-in-progress podman 6 breaking changes that should only go into podman 6 stale-pr

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant