diff --git a/contrib/cni/10-crio-bridge.conflist b/contrib/cni/10-crio-bridge.conflist index 02702a588ae..10fa70324dc 100644 --- a/contrib/cni/10-crio-bridge.conflist +++ b/contrib/cni/10-crio-bridge.conflist @@ -1,24 +1,20 @@ { - "cniVersion": "1.0.0", - "name": "crio", - "plugins": [ - { - "type": "bridge", - "bridge": "cni0", - "isGateway": true, - "ipMasq": true, - "hairpinMode": true, - "ipam": { - "type": "host-local", - "routes": [ - { "dst": "0.0.0.0/0" }, - { "dst": "::/0" } - ], - "ranges": [ - [{ "subnet": "10.85.0.0/16" }], - [{ "subnet": "1100:200::/24" }] - ] - } - } - ] -} + "cniVersion": "1.0.0", + "name": "crio-bridge", + "type": "bridge", + "bridge": "cni0", + "isGateway": true, + "ipMasq": true, + "hairpinMode": true, + "ipam": { + "type": "host-local", + "routes": [ + { "dst": "0.0.0.0/0" }, + { "dst": "::/0" } + ], + "ranges": [ + [{ "subnet": "10.85.0.0/16" }], + [{ "subnet": "1100:200::/24" }] + ] + } +} \ No newline at end of file diff --git a/contrib/cni/README.md b/contrib/cni/README.md index 75f4bf56fb6..15fcf41191c 100644 --- a/contrib/cni/README.md +++ b/contrib/cni/README.md @@ -63,7 +63,7 @@ Download the `CNI` plugins source tree: ```bash git clone https://github.com/containernetworking/plugins cd plugins -git checkout v1.1.1 +git checkout main ``` Build the `CNI` plugins: