mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-09-17 15:07:14 +00:00
[bugfix][docs] Updates examples to match spec criteria
This commit is contained in:
committed by
Kuralamudhan Ramakrishnan
parent
696f863d93
commit
fc4652697b
@@ -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
|
||||
}
|
||||
}
|
||||
]'
|
||||
}'
|
@@ -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"
|
||||
}
|
||||
}
|
||||
]'
|
||||
}'
|
Reference in New Issue
Block a user