Skip to content

Commit bdd3c85

Browse files
Random-Liuestesp
authored andcommitted
Update deployment and integration test
Signed-off-by: Lantao Liu <[email protected]>
1 parent d8ef77e commit bdd3c85

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

contrib/gce/cni.template

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,8 @@
77
"mtu": 1460,
88
"ipam": {
99
"type": "host-local",
10-
"subnet": "{{.PodCIDR}}",
11-
"routes": [
12-
{
13-
"dst": "0.0.0.0/0"
14-
}
15-
]
10+
"ranges": [{{range $i, $range := .PodCIDRRanges}}{{if $i}}, {{end}}[{"subnet": "{{$range}}"}]{{end}}],
11+
"routes": [{{range $i, $route := .Routes}}{{if $i}}, {{end}}{"dst": "{{$route}}"}{{end}}]
1612
}
1713
},
1814
{

0 commit comments

Comments
 (0)