Skip to content

Commit

Permalink
No longer install Whereabouts CNI to host (antrea-io#4617)
Browse files Browse the repository at this point in the history
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 <shenj@vmware.com>
  • Loading branch information
jianjuns authored Feb 13, 2023
1 parent 52d409a commit 97e790b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions build/images/scripts/install_cni
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 97e790b

Please sign in to comment.