diff options
Diffstat (limited to 'cni')
-rw-r--r-- | cni/87-podman-bridge.conflist | 25 | ||||
-rw-r--r-- | cni/97-podman-bridge.conf | 15 |
2 files changed, 25 insertions, 15 deletions
diff --git a/cni/87-podman-bridge.conflist b/cni/87-podman-bridge.conflist new file mode 100644 index 000000000..a5e241c80 --- /dev/null +++ b/cni/87-podman-bridge.conflist @@ -0,0 +1,25 @@ +{ + "cniVersion": "0.3.0", + "name": "podman", + "plugins": [ + { + "type": "bridge", + "bridge": "cni0", + "isGateway": true, + "ipMasq": true, + "ipam": { + "type": "host-local", + "subnet": "10.88.0.0/16", + "routes": [ + { "dst": "0.0.0.0/0" } + ] + } + }, + { + "type": "portmap", + "capabilities": { + "portMappings": true + } + } + ] +} diff --git a/cni/97-podman-bridge.conf b/cni/97-podman-bridge.conf deleted file mode 100644 index 27fc096c4..000000000 --- a/cni/97-podman-bridge.conf +++ /dev/null @@ -1,15 +0,0 @@ -{ - "cniVersion": "0.3.0", - "name": "podman", - "type": "bridge", - "bridge": "cni0", - "isGateway": true, - "ipMasq": true, - "ipam": { - "type": "host-local", - "subnet": "10.88.0.0/16", - "routes": [ - { "dst": "0.0.0.0/0" } - ] - } -} |