Skip to content

Commit

Permalink
Merge pull request containers#3755 from mheon/fix_cniname
Browse files Browse the repository at this point in the history
Adjust name of Podman CNI network bridge
  • Loading branch information
openshift-merge-robot authored Aug 26, 2019
2 parents c0528c1 + 7b4102c commit 6240bd4
Showing 1 changed file with 32 additions and 23 deletions.
55 changes: 32 additions & 23 deletions cni/87-podman-bridge.conflist
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,37 @@
"cniVersion": "0.4.0",
"name": "podman",
"plugins": [
{
"type": "bridge",
"bridge": "cni0",
"isGateway": true,
"ipMasq": true,
"ipam": {
"type": "host-local",
"subnet": "10.88.0.0/16",
"routes": [
{ "dst": "0.0.0.0/0" }
]
}
},
{
"type": "portmap",
"capabilities": {
"portMappings": true
}
},
{
"type": "firewall",
"backend": "iptables"
}
{
"type": "bridge",
"bridge": "cni-podman0",
"isGateway": true,
"ipMasq": true,
"ipam": {
"type": "host-local",
"routes": [
{
"dst": "0.0.0.0/0"
}
],
"ranges": [
[
{
"subnet": "10.88.0.0/16",
"gateway": "10.88.0.1"
}
]
]
}
},
{
"type": "portmap",
"capabilities": {
"portMappings": true
}
},
{
"type": "firewall",
"backend": "iptables"
}
]
}

0 comments on commit 6240bd4

Please sign in to comment.