Skip to content

CNF-21001: Remove iptables compatibility commits#108

Merged
openshift-merge-bot[bot] merged 2 commits intoopenshift:mainfrom
zeeke:ds/remove-compat-commits
Apr 14, 2026
Merged

CNF-21001: Remove iptables compatibility commits#108
openshift-merge-bot[bot] merged 2 commits intoopenshift:mainfrom
zeeke:ds/remove-compat-commits

Conversation

@zeeke
Copy link
Copy Markdown
Contributor

@zeeke zeeke commented Apr 13, 2026

Since

has been merged, we can remove the compatibility with the old iptables implementation

@openshift-ci openshift-ci bot requested a review from bpickard22 April 13, 2026 09:46
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 13, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 463344a6-8cf4-4c75-b2fd-695b2330bd40

📥 Commits

Reviewing files that changed from the base of the PR and between 834a093 and 984b663.

📒 Files selected for processing (2)
  • Dockerfile.openshift
  • cmd/main.go
💤 Files with no reviewable changes (2)
  • Dockerfile.openshift
  • cmd/main.go

Walkthrough

The pull request removes iptables compatibility code throughout the project. Specifically, it eliminates a Dockerfile symlink that provided backward compatibility for iptables-based execution and removes the --pod-iptables CLI flag from the main command, along with associated logic that reset and configured IPv6 rule defaults.

Changes

Cohort / File(s) Summary
Remove iptables compatibility layer
Dockerfile.openshift, cmd/main.go
Removed symlink creation for iptables binary alias, eliminated --pod-iptables CLI flag, and removed logic that reset commonRules and set hardcoded IPv6 ICMPv6 discovery rules. Code now uses nftables exclusively without backward compatibility for iptables mode.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

@openshift-ci openshift-ci bot requested a review from s1061123 April 13, 2026 09:46
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 13, 2026
@zeeke zeeke changed the title Ds/remove compat commits Remove iptables compatibility commits Apr 13, 2026
@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Apr 13, 2026

@zeeke: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@zeeke zeeke changed the title Remove iptables compatibility commits CNF-21001: Remove iptables compatibility commits Apr 13, 2026
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Apr 13, 2026
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

openshift-ci-robot commented Apr 13, 2026

@zeeke: This pull request references CNF-21001 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.22.0" version, but no target version was set.

Details

In response to this:

Since

has been merged, we can remove the compatibility with the old iptables implementation

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@cgoncalves
Copy link
Copy Markdown

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Apr 14, 2026
@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Apr 14, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cgoncalves, zeeke

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

@zeeke
Copy link
Copy Markdown
Contributor Author

zeeke commented Apr 14, 2026

/verified by CI
ci/prow/e2e-aws

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Apr 14, 2026
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@zeeke: This PR has been marked as verified by CI.

Details

In response to this:

/verified by CI
ci/prow/e2e-aws

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-merge-bot openshift-merge-bot bot merged commit 43b1645 into openshift:main Apr 14, 2026
7 checks passed
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. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants