NO-JIRA: Remove --enable-interconnect flag from OVN-K manifests#3008
NO-JIRA: Remove --enable-interconnect flag from OVN-K manifests#3008kyrtapz wants to merge 2 commits into
Conversation
Upstream OVN-K removed --enable-interconnect in ovn-kubernetes/ovn-kubernetes#6303 making interconnect the only supported topology. The flag is no longer recognized by the binary and causes startup failures. Also removes unused OVN_INTERCONNECT_CONFIGMAP_NAME constant and GetInterConnectConfigMap function from pkg/util/util.go. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Patryk Diak <pdiak@redhat.com>
Older OVN-K binaries still require --enable-interconnect, while newer ones (post ovn-kubernetes/ovn-kubernetes#6303) reject it as an unknown flag. Check --help output at startup to determine whether to pass the flag. Drop this commit once all supported OVN-K images have the flag removed (i.e., no upgrade path from a version that still has it). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Patryk Diak <pdiak@redhat.com>
WalkthroughThis PR replaces unconditional passing of the ChangesConditional interconnect flag detection
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 12✅ Passed checks (12 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kyrtapz The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@kyrtapz: This pull request explicitly references no jira issue. DetailsIn response to this:
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. |
|
@kyrtapz: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
We should drop the second commit once we sync the upstream changes into
openshift/ovn-kubernetes.It is required today so ovn-k works in both scenarios.
Summary by CodeRabbit