Browse Source

Enable portmap CNI plugin with kube-router (#6204)

... to have working `hostPort` for containers.

See: https://www.kube-router.io/docs/user-guide/#hostport-support
pull/6258/head
Alexander Evseev 4 years ago
committed by GitHub
parent
commit
5a311236c4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions
  1. 6
      roles/network_plugin/kube-router/templates/cni-conf.json.j2

6
roles/network_plugin/kube-router/templates/cni-conf.json.j2

@ -16,6 +16,12 @@
{% endif %}
"type":"host-local"
}
},
{
"type":"portmap",
"capabilities":{
"portMappings":true
}
}
]
}
Loading…
Cancel
Save