contrib: cni: provide example CNI configurations
This also updates the readme to no longer contain CNI configuration information (which had incorrect steps), and rather just points to the example configs. Signed-off-by: Aleksa Sarai <asarai@suse.de>
This commit is contained in:
parent
792f585c44
commit
9088a12c75
4 changed files with 39 additions and 35 deletions
15
contrib/cni/10-ocid-bridge.conf
Normal file
15
contrib/cni/10-ocid-bridge.conf
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"cniVersion": "0.2.0",
|
||||
"name": "ocid-bridge",
|
||||
"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" }
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue