cni.conflist (552B)
1 { 2 "cniVersion": "1.0.0", 3 "name": "{{ .Name }}", 4 "plugins": [ 5 { 6 "type": "bridge", 7 "bridge": "{{ .BridgeName }}", 8 "isGateway": true, 9 "ipMasq": true, 10 "hairpinMode": true, 11 "ipam": { 12 "type": "host-local", 13 "ranges": [[{ 14 "subnet": "{{ .Subnet }}" 15 }]], 16 "routes": [ 17 { "dst": "0.0.0.0/0" } 18 ] 19 } 20 }, 21 { 22 "type": "portmap", 23 "capabilities": { 24 "portMappings": true 25 } 26 }, 27 { 28 "type": "tc-redirect-tap" 29 } 30 ] 31 }