foundation-model-stack / multi-nic-cni

https://foundation-model-stack.github.io/multi-nic-cni/
Apache License 2.0
33 stars 5 forks source link

Fix unmanaged hif removed when daemon removed and no selection on unmanaged interfaces #150

Closed sunya-ch closed 11 months ago

sunya-ch commented 11 months ago

This PR fixes two critical issues related to unmanaged host interfaces.

  1. unmanaged HostInterface has been removed when daemon pod is removed. Bug point: in daemon watcher, it always remove hostinterface when daemon pod is deleted.
  2. No interface defined in unmanaged HostInterface selected by the daemon Bug point: daemon is not aware of hostinterface resource. It get interfaces directly on the host.

Signed-off-by: Sunyanan Choochotkaew sunyanan.choochotkaew1@ibm.com