Skip to content

fix(net): allow coexisting CNI configurations - #590

Merged
Patrick W. Healy (phealy) merged 1 commit into
mainfrom
pahealy/net-remove-single-cni-check
Aug 8, 2026
Merged

fix(net): allow coexisting CNI configurations#590
Patrick W. Healy (phealy) merged 1 commit into
mainfrom
pahealy/net-remove-single-cni-check

Conversation

@phealy

Copy link
Copy Markdown
Contributor

Summary

  • remove the fatal startup check that required unbounded-net-node to be the only configured CNI plugin
  • continue writing the unbounded-net CNI configuration when other CNI files are present
  • detect .conf, .conflist, and .json files that sort before the unbounded-net config and warn that unbounded-net is not the active CNI plugin
  • allow lower-priority CNI configuration files without warning
  • update bootstrap coverage for priority detection and successful coexistence

Validation

  • go test ./cmd/unbounded-net-node
  • golangci-lint run -c .golangci.yaml ./cmd/unbounded-net-node

Remove the fatal bootstrap check that required unbounded-net to be the only configured CNI plugin. Continue writing the unbounded-net configuration when other CNI files are present.

Detect supported CNI configuration files that sort before the unbounded-net file and log a warning explaining that unbounded-net is not the active CNI plugin. Files that sort later are allowed without a warning.

Update bootstrap tests to cover higher- and lower-priority CNI configurations, supported file extensions, and successful node initialization alongside an existing CNI.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: bbf9702f-158a-4c6c-b1c2-5120cd2ab78a
@phealy
Patrick W. Healy (phealy) added this pull request to the merge queue Aug 8, 2026
Merged via the queue into main with commit 9e9d1f3 Aug 8, 2026
21 checks passed
@phealy
Patrick W. Healy (phealy) deleted the pahealy/net-remove-single-cni-check branch August 8, 2026 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants