From 7bd86a225279a719eba83f336d30f217c0dcfd61 Mon Sep 17 00:00:00 2001 From: Bingshen Wang Date: Mon, 28 May 2018 16:03:19 +0800 Subject: [PATCH] Update cni.template Format the cni.template, use `space` instead of some `tab`. Avoid indent issue in text editor. Signed-off-by: bingshen.wbs --- cluster/gce/cni.template | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/cluster/gce/cni.template b/cluster/gce/cni.template index 50a2ed424..8e81bab18 100644 --- a/cluster/gce/cni.template +++ b/cluster/gce/cni.template @@ -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 } - ] + ] }