mirror of https://github.com/containers/podman.git
Merge pull request #5292 from baude/nofirewallpluginisgood
disable generation of cni firewall plugin
This commit is contained in:
commit
ed6264c28e
|
@ -26,10 +26,6 @@
|
||||||
"portMappings": true
|
"portMappings": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"type": "firewall",
|
|
||||||
"backend": "iptables"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "tuning"
|
"type": "tuning"
|
||||||
}
|
}
|
||||||
|
|
|
@ -209,7 +209,6 @@ func (r *LocalRuntime) NetworkCreateBridge(cli *cliconfig.NetworkCreateValues) (
|
||||||
bridge := network.NewHostLocalBridge(bridgeDeviceName, isGateway, false, ipMasq, ipamConfig)
|
bridge := network.NewHostLocalBridge(bridgeDeviceName, isGateway, false, ipMasq, ipamConfig)
|
||||||
plugins = append(plugins, bridge)
|
plugins = append(plugins, bridge)
|
||||||
plugins = append(plugins, network.NewPortMapPlugin())
|
plugins = append(plugins, network.NewPortMapPlugin())
|
||||||
plugins = append(plugins, network.NewFirewallPlugin())
|
|
||||||
// if we find the dnsname plugin, we add configuration for it
|
// if we find the dnsname plugin, we add configuration for it
|
||||||
if network.HasDNSNamePlugin(runtimeConfig.CNIPluginDir) && !cli.DisableDNS {
|
if network.HasDNSNamePlugin(runtimeConfig.CNIPluginDir) && !cli.DisableDNS {
|
||||||
// Note: in the future we might like to allow for dynamic domain names
|
// Note: in the future we might like to allow for dynamic domain names
|
||||||
|
|
Loading…
Reference in New Issue