github.com/jlmeeker/kismatic@v1.10.1-0.20180612190640-57f9005a1f1a/ansible/roles/weave/templates/weavenet.conflist (about)

     1  {
     2      "cniVersion": "0.3.0",
     3      "name": "mynet",
     4        "plugins": [
     5          {
     6              "name": "weave",
     7              "type": "weave-net",
     8              "hairpinMode": true
     9          }{% if cni.options.portmap.enabled == true %},
    10          {
    11              "type": "portmap",
    12              "capabilities": {"portMappings": true},
    13              "snat": true
    14          }{% endif %}
    15      ]
    16  }