Skip to content

Commit

Permalink
Update cni.template
Browse files Browse the repository at this point in the history
Format the cni.template, use `space` instead of some `tab`. Avoid indent issue in text editor.

Signed-off-by: bingshen.wbs <bingshen.wbs@alibaba-inc.com>
  • Loading branch information
BSWANG authored and estesp committed Oct 1, 2020
1 parent 7ba7a1c commit de14be9
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions contrib/gce/cni.template
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
{
"name": "k8s-pod-network",
"cniVersion": "0.3.1",
"plugins": [
"cniVersion": "0.3.1",
"plugins": [
{
"type": "ptp",
"mtu": 1460,
"ipam": {
"type": "host-local",
"subnet": "{{.PodCIDR}}",
"routes": [
{"dst": "0.0.0.0/0"}
]
"type": "host-local",
"subnet": "{{.PodCIDR}}",
"routes": [
{
"dst": "0.0.0.0/0"
}
]
}
},
{
"type": "portmap",
"capabilities": {
"portMappings": true
"portMappings": true
},
"noSnat": true
}
]
]
}

0 comments on commit de14be9

Please sign in to comment.