mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 11:47:47 +03:00
Fix kube-router config generation (#5531)
Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
This commit is contained in:
committed by
GitHub
parent
6221b94fdf
commit
588896712e
13
roles/network_plugin/kube-router/templates/cni-conf.json.j2
Normal file
13
roles/network_plugin/kube-router/templates/cni-conf.json.j2
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"name":"kubernetes",
|
||||
"cniVersion": "0.2.0",
|
||||
"type":"bridge",
|
||||
"bridge":"kube-bridge",
|
||||
"isDefaultGateway":true,
|
||||
{% if kube_router_support_hairpin_mode %}
|
||||
"hairpinMode":true,
|
||||
{% endif %}
|
||||
"ipam": {
|
||||
"type":"host-local"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user