submariner-io / submariner

Networking component for interconnecting Pods and Services across Kubernetes clusters.
https://submariner.io
Apache License 2.0
2.36k stars 184 forks source link

De-duplicate CNI discovery code #3013

Closed tpantelis closed 1 month ago

tpantelis commented 1 month ago

The getCNIInterfaceIPAddress in endpoint.go is mainly a duplicate of cni.discover so eliminate the former. The main difference is that getCNIInterfaceIPAddress took an array of CIDR strings so update cni.discover accordingly.

submariner-bot commented 1 month ago

🤖 Created branch: z_pr3013/tpantelis/merge_cni_discovery 🚀 Full E2E won't run until the "ready-to-test" label is applied. I will add it automatically once the PR has 2 approvals, or you can add it manually.

submariner-bot commented 1 month ago

🤖 Closed branches: [z_pr3013/tpantelis/merge_cni_discovery]