cni: add loopback to linux bridge (#13428)

CNI changed how to bring up the interface in v0.2.0.
Support was moved to a new loopback plugin.

https://github.com/containernetworking/cni/pull/121

Fixes #10014
This commit is contained in:
Jeffrey Clark
2022-06-20 10:22:53 -05:00
committed by GitHub
parent b335e04008
commit eff2c01c1b
2 changed files with 6 additions and 0 deletions

3
.changelog/13428.txt Normal file
View File

@@ -0,0 +1,3 @@
```release-note:bug
cni: Fixed a bug where loopback address was not set for all drivers
```

View File

@@ -142,6 +142,9 @@ const nomadCNIConfigTemplate = `{
"cniVersion": "0.4.0",
"name": "nomad",
"plugins": [
{
"type": "loopback"
},
{
"type": "bridge",
"bridge": "%s",