docs: update default Nomad bridge config (#16072)

This commit is contained in:
Luiz Aoqui
2023-02-07 09:47:41 -05:00
committed by GitHub
parent b667c58c35
commit ae26057eec
2 changed files with 3 additions and 0 deletions

View File

@@ -144,6 +144,8 @@ func buildNomadBridgeNetConfig(b bridgeNetworkConfigurator) []byte {
cniAdminChainName))
}
// Update website/content/docs/networking/cni.mdx when the bridge configuration
// is modified.
const nomadCNIConfigTemplate = `{
"cniVersion": "0.4.0",
"name": "nomad",

View File

@@ -88,6 +88,7 @@ a convenient jumping off point to discuss a worked example.
"ipMasq": true,
"isGateway": true,
"forceAddress": true,
"hairpinMode": false,
"ipam": {
"type": "host-local",
"ranges": [