-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
contrib/cni/*: Change CNI config to latest spec
Changes in the CNI specification have been leading to issues with older configuration file formats. Previously used fields or structures are causing parsing errors like missing 'type' errors in configurations. Checking out main brain than a particular release version to ensure latest plugin build. Signed-off-by: PannagaRamamanohara <pbhojara@redhat.com>
- Loading branch information
1 parent
e90afe2
commit 648bed5
Showing
2 changed files
with
20 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,20 @@ | ||
{ | ||
"cniVersion": "1.0.0", | ||
"name": "crio", | ||
"plugins": [ | ||
{ | ||
"type": "bridge", | ||
"bridge": "cni0", | ||
"isGateway": true, | ||
"ipMasq": true, | ||
"hairpinMode": true, | ||
"ipam": { | ||
"type": "host-local", | ||
"routes": [ | ||
{ "dst": "0.0.0.0/0" }, | ||
{ "dst": "::/0" } | ||
], | ||
"ranges": [ | ||
[{ "subnet": "10.85.0.0/16" }], | ||
[{ "subnet": "1100:200::/24" }] | ||
] | ||
} | ||
} | ||
] | ||
} | ||
"cniVersion": "1.0.0", | ||
"name": "crio-bridge", | ||
"type": "bridge", | ||
"bridge": "cni0", | ||
"isGateway": true, | ||
"ipMasq": true, | ||
"hairpinMode": true, | ||
"ipam": { | ||
"type": "host-local", | ||
"routes": [ | ||
{ "dst": "0.0.0.0/0" }, | ||
{ "dst": "::/0" } | ||
], | ||
"ranges": [ | ||
[{ "subnet": "10.85.0.0/16" }], | ||
[{ "subnet": "1100:200::/24" }] | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters