Skip to content

Commit de14be9

Browse files
BSWANGestesp
authored andcommitted
Update cni.template
Format the cni.template, use `space` instead of some `tab`. Avoid indent issue in text editor. Signed-off-by: bingshen.wbs <[email protected]>
1 parent 7ba7a1c commit de14be9

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

contrib/gce/cni.template

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,26 @@
11
{
22
"name": "k8s-pod-network",
3-
"cniVersion": "0.3.1",
4-
"plugins": [
3+
"cniVersion": "0.3.1",
4+
"plugins": [
55
{
66
"type": "ptp",
77
"mtu": 1460,
88
"ipam": {
9-
"type": "host-local",
10-
"subnet": "{{.PodCIDR}}",
11-
"routes": [
12-
{"dst": "0.0.0.0/0"}
13-
]
9+
"type": "host-local",
10+
"subnet": "{{.PodCIDR}}",
11+
"routes": [
12+
{
13+
"dst": "0.0.0.0/0"
14+
}
15+
]
1416
}
1517
},
1618
{
1719
"type": "portmap",
1820
"capabilities": {
19-
"portMappings": true
21+
"portMappings": true
2022
},
2123
"noSnat": true
2224
}
23-
]
25+
]
2426
}

0 commit comments

Comments
 (0)