Fetch deps on first build

This commit is contained in:
Scott Yeager
2025-06-19 22:43:11 -07:00
parent 185c41425b
commit 58180364b4
2 changed files with 9 additions and 4 deletions

View File

@@ -15,13 +15,15 @@ This CNI plugin integrates with the Mycelium overlay network to provide IPv6 con
## Installation
```bash
# Build the plugin
# Download dependencies and build the plugin
make build
# Install plugin and configuration
make install
```
> **Note**: The first build will download Go dependencies automatically via `go mod tidy`.
## Configuration
The plugin uses a CNI configuration file (`10-mycelium.conflist`) that specifies the Mycelium interface name:
@@ -86,7 +88,7 @@ sudo systemctl enable --now mycelium
On each Kubernetes node:
```bash
# Build and install the plugin
# Download dependencies, build and install the plugin
make build
sudo make install