
Adds a bool to the cni config that will add a policy that allows for loopbackDSR on an interface. Updates relevant documentation. Allows L2Tunnel networks to be used for L2Bridge plugin.
45 lines
1.2 KiB
Plaintext
Executable File
45 lines
1.2 KiB
Plaintext
Executable File
{
|
|
"name":"cbr0",
|
|
"type":"flannel",
|
|
"delegate":{
|
|
"type":"win-bridge",
|
|
"dns":{
|
|
"nameservers":[
|
|
"11.0.0.10"
|
|
],
|
|
"search":[
|
|
"svc.cluster.local"
|
|
]
|
|
},
|
|
"policies":[
|
|
{
|
|
"name":"EndpointPolicy",
|
|
"value":{
|
|
"Type":"OutBoundNAT",
|
|
"ExceptionList":[
|
|
"192.168.0.0/16",
|
|
"11.0.0.0/8",
|
|
"10.137.196.0/23"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name":"EndpointPolicy",
|
|
"value":{
|
|
"Type":"ROUTE",
|
|
"DestinationPrefix":"11.0.0.0/8",
|
|
"NeedEncap":true
|
|
}
|
|
},
|
|
{
|
|
"name":"EndpointPolicy",
|
|
"value":{
|
|
"Type":"ROUTE",
|
|
"DestinationPrefix":"10.137.198.27/32",
|
|
"NeedEncap":true
|
|
}
|
|
}
|
|
],
|
|
"loopbackDSR": true
|
|
}
|
|
} |