apiVersion: operator.openshift.io/v1
kind: Network
metadata:
name: cluster
spec:
additionalNetworks:
- name: test-network-1
namespace: additional-network-1
type: Raw
rawCNIConfig: '{
"cniVersion": "0.3.1",
"name": "macvlan-vrf",
"plugins": [ (1)
{
"type": "macvlan",
"master": "eth1",
"ipam": {
"type": "static",
"addresses": [
{
"address": "191.168.1.23/24"
}
]
}
},
{
"type": "vrf", (2)
"vrfname": "vrf-1", (3)
"table": 1001 (4)
}]
}'