Skip to content

Commit 678dfc3

Browse files
authored
Merge pull request #263 from minmzzhang/macvlan_whereabouts
fix whereabouts IPAM config for macvlan when multiNICIPAM is set to false
2 parents b2a588c + 00fbc0f commit 678dfc3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

config/samples/multinicnetwork/macvlan.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ metadata:
66
spec:
77
subnet: "192.168.0.0/16"
88
ipam: |
9-
{ "type": "whereabouts" }
9+
{
10+
"type": "whereabouts",
11+
"range": "192.168.0.0/16"
12+
}
1013
multiNICIPAM: false
1114
plugin:
12-
cniVersion: "0.3.0"
15+
cniVersion: "0.3.1"
1316
type: macvlan
14-
masterNets:
15-
- "172.31.32.0/20"

0 commit comments

Comments
 (0)