Closed sunya-ch closed 1 year ago
This PR is to fix the bug point when the error from kubernetes API is not expected NotFound error. This bug could cause a serious result in losing the main CIDR information such as reported in https://github.com/foundation-model-stack/multi-nic-cni/issues/46.
NotFound
This PR also fix the minor bug to delete CIDR resources when cleaning the config resource too.
Signed-off-by: Sunyanan Choochotkaew sunyanan.choochotkaew1@ibm.com
This PR is to fix the bug point when the error from kubernetes API is not expected
NotFound
error. This bug could cause a serious result in losing the main CIDR information such as reported in https://github.com/foundation-model-stack/multi-nic-cni/issues/46.This PR also fix the minor bug to delete CIDR resources when cleaning the config resource too.
Signed-off-by: Sunyanan Choochotkaew sunyanan.choochotkaew1@ibm.com