Skip to content

Commit 81a319f

Browse files
committed
OSDOCS-11484: Fix CMPS YAML for capacity res
1 parent 723fca0 commit 81a319f

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

modules/machineset-azure-capacity-reservation.adoc

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,19 @@ endif::cpmso[]
5555
# ...
5656
spec:
5757
template:
58+
ifndef::cpmso[]
5859
spec:
5960
providerSpec:
6061
value:
61-
capacityReservationGroupID: <capacity-reservation-group> # <1>
62+
capacityReservationGroupID: <capacity_reservation_group> # <1>
63+
endif::cpmso[]
64+
ifdef::cpmso[]
65+
machines_v1beta1_machine_openshift_io:
66+
spec:
67+
providerSpec:
68+
value:
69+
capacityReservationGroupID: <capacity_reservation_group> # <1>
70+
endif::cpmso[]
6271
# ...
6372
----
6473
<1> Specify the ID of the Capacity Reservation group that you want the machine set to deploy machines on.

0 commit comments

Comments
 (0)