Skip to content

Commit

Permalink
5
Browse files Browse the repository at this point in the history
  • Loading branch information
justinsb committed Feb 8, 2021
1 parent 0e28233 commit 213b731
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions nodeup/pkg/model/tests/containerdbuilder/simple/tasks.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
contents: |
{
"cniVersion": "0.3.1",
"cniVersion": "0.4.0",
"name": "k8s-pod-network",
"plugins": [
{
"type": "ptp",
"ipam": {
"type": "host-local",
"ranges": [[{"subnet": "{{.PodCIDR}}"}]],
"routes": [{ "dst": "0.0.0.0/0" }]
"type": "bridge",
"bridge": "cni0",
"isGateway": true,
"isDefaultGateway":true,
"ipMasq": true,
"promiscMode": true,
"ipam":{
"type":"host-local"
"ranges": [[{"subnet": "{{.PodCIDR}}"}]],
"routes": [{ "dst": "0.0.0.0/0" }]
}
},
{
},
{
"type": "portmap",
"snat": true,
"capabilities": {"portMappings": true}
Expand Down

0 comments on commit 213b731

Please sign in to comment.