From 26271e2a7d2f5238bd6d795f6632c382aac61199 Mon Sep 17 00:00:00 2001 From: Jason Boxman Date: Thu, 28 Jan 2021 22:48:55 -0500 Subject: [PATCH] Fix double nesting of `ipam` key - https://bugzilla.redhat.com/show_bug.cgi?id=1917881 --- modules/nw-sriov-network-attachment.adoc | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/modules/nw-sriov-network-attachment.adoc b/modules/nw-sriov-network-attachment.adoc index 9435c560c382..a9f37b0fe8f1 100644 --- a/modules/nw-sriov-network-attachment.adoc +++ b/modules/nw-sriov-network-attachment.adoc @@ -40,15 +40,13 @@ spec: resourceName: net1 networkNamespace: project2 ipam: |- - { - "ipam": { - "type": "host-local", - "subnet": "10.56.217.0/24", - "rangeStart": "10.56.217.171", - "rangeEnd": "10.56.217.181", - "gateway": "10.56.217.1" - } - } + { + "type": "host-local", + "subnet": "10.56.217.0/24", + "rangeStart": "10.56.217.171", + "rangeEnd": "10.56.217.181", + "gateway": "10.56.217.1" + } ---- . To create the object, enter the following command: