Update Kube-router version to v0.4.0 (#5756)

This commit is contained in:
bozzo
2020-03-17 10:40:21 +01:00
committed by GitHub
parent 45626a05dc
commit 974902af31
5 changed files with 32 additions and 28 deletions

View File

@@ -1,13 +1,21 @@
{
"name":"kubernetes",
"cniVersion": "0.2.0",
"type":"bridge",
"bridge":"kube-bridge",
"isDefaultGateway":true,
"cniVersion":"0.3.0",
"name":"kubernetes",
"plugins":[
{
"name":"kubernetes",
"type":"bridge",
"bridge":"kube-bridge",
"isDefaultGateway":true,
{% if kube_router_support_hairpin_mode %}
"hairpinMode":true,
"hairpinMode":true,
{% endif %}
"ipam": {
"type":"host-local"
}
"ipam":{
{% if host_subnet is defined %}
"subnet": "{{ host_subnet }}",
{% endif %}
"type":"host-local"
}
}
]
}