[bugfix][docs] Updates examples to match spec criteria

This commit is contained in:
dougbtv
2018-05-03 14:50:07 -04:00
committed by Kuralamudhan Ramakrishnan
parent 696f863d93
commit fc4652697b
2 changed files with 25 additions and 25 deletions

View File

@@ -2,11 +2,11 @@ apiVersion: "kubernetes.cni.cncf.io/v1"
kind: Network
metadata:
name: flannel-conf
plugin: flannel
args: '[
{
spec:
config: '{
"cniVersion": "0.3.0",
"type": "flannel",
"delegate": {
"isDefaultGateway": true
}
}
]'
}'

View File

@@ -2,9 +2,10 @@ apiVersion: "kubernetes.cni.cncf.io/v1"
kind: Network
metadata:
name: macvlan-conf
plugin: macvlan
args: '[
{
spec:
config: '{
"cniVersion": "0.3.0",
"type": "macvlan",
"master": "eth0",
"mode": "bridge",
"ipam": {
@@ -17,5 +18,4 @@ args: '[
],
"gateway": "192.168.1.1"
}
}
]'
}'