mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 11:47:47 +03:00
weave: Upgrade to 2.5.0 (#3660)
* weave: Upgrade to 2.5.0 Upstream Changes: - weave 2.5.0 (https://github.com/weaveworks/weave/releases/tag/v2.5.0) - Adds support for Kubernetes `hostPort` mapping - Adds support for Kubernetes `ipBlock` NetworkPolicy feature Our Changes: - Templates sync with upstream manifests - Remove legacy nodePort fix * BC for weave < 2.5.0
This commit is contained in:
committed by
k8s-ci-robot
parent
730caa3d58
commit
9ebdf0e3cf
16
roles/network_plugin/weave/templates/10-weave.conflist.j2
Normal file
16
roles/network_plugin/weave/templates/10-weave.conflist.j2
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"cniVersion": "0.3.0",
|
||||
"name": "weave",
|
||||
"plugins": [
|
||||
{
|
||||
"name": "weave",
|
||||
"type": "weave-net",
|
||||
"hairpinMode": {{ weave_hairpin_mode | bool | lower }}
|
||||
},
|
||||
{
|
||||
"type": "portmap",
|
||||
"capabilities": {"portMappings": true},
|
||||
"snat": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user