From 97e790b144b7895d976e7681d6b34405ae750e5f Mon Sep 17 00:00:00 2001 From: Jianjun Shen Date: Mon, 13 Feb 2023 13:53:37 -0800 Subject: [PATCH] No longer install Whereabouts CNI to host (#4617) Whereabouts CNI binary is executed in the antrea-agent container for secondary network IPAM. It needs not to be in the host filesystem. Signed-off-by: Jianjun Shen --- build/images/scripts/install_cni | 5 ----- 1 file changed, 5 deletions(-) diff --git a/build/images/scripts/install_cni b/build/images/scripts/install_cni index 4285b9251d1..dc957bcac7e 100755 --- a/build/images/scripts/install_cni +++ b/build/images/scripts/install_cni @@ -44,11 +44,6 @@ if [[ ! " ${binaries[*]} " =~ " bandwidth " ]]; then install -m 755 /opt/cni/bin/bandwidth /host/opt/cni/bin/bandwidth fi -# Install whereabouts IPAM binary file. Required for global IPAM support specific to CNF use cases. -if [[ ! " ${binaries[*]} " =~ " whereabouts " ]]; then - install -m 755 /opt/cni/bin/whereabouts /host/opt/cni/bin/whereabouts -fi - # Install Antrea configuration file. # Note that it needs to be executed after installing the above binaries because container runtimes such as cri-o may # watch the conf directory and try to validate the config and binaries immediately once there is a change.