Skip to content

Commit 936d483

Browse files
Add support for compute cluster id
1 parent 3717901 commit 936d483

File tree

5 files changed

+70
-0
lines changed

5 files changed

+70
-0
lines changed

api/v1beta1/zz_generated.conversion.go

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/v1beta1/zz_generated.deepcopy.go

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/v1beta2/zz_generated.deepcopy.go

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/bases/infrastructure.cluster.x-k8s.io_ocimachines.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,11 @@ spec:
138138
compartmentId:
139139
description: Compartment to launch the instance in.
140140
type: string
141+
computeClusterId:
142+
description: ComputeClusterId refers to OCID of the compute cluster
143+
that the instance will be created in. Please refer https://docs.oracle.com/en-us/iaas/Content/Compute/Tasks/compute-clusters.htm
144+
for more details
145+
type: string
141146
dedicatedVmHostId:
142147
description: DedicatedVmHostId defines the OCID of the dedicated VM
143148
host.
@@ -194,10 +199,16 @@ spec:
194199
type: string
195200
type: object
196201
ipxeScript:
202+
description: IpxeScript is the custom iPXE script that will run when
203+
the instance boots.
197204
type: string
198205
isPvEncryptionInTransitEnabled:
199206
description: Is in transit encryption of volumes required.
200207
type: boolean
208+
launchMode:
209+
description: LaunchMode specifies the configuration mode for launching
210+
virtual machine (VM) instances.
211+
type: string
201212
launchOptions:
202213
description: LaunchOptions defines the options for tuning the compatibility
203214
and performance of VM shapes
@@ -899,6 +910,11 @@ spec:
899910
compartmentId:
900911
description: Compartment to launch the instance in.
901912
type: string
913+
computeClusterId:
914+
description: ComputeClusterId refers to OCID of the compute cluster
915+
that the instance will be created in. Please refer https://docs.oracle.com/en-us/iaas/Content/Compute/Tasks/compute-clusters.htm
916+
for more details
917+
type: string
902918
dedicatedVmHostId:
903919
description: DedicatedVmHostId defines the OCID of the dedicated VM
904920
host.
@@ -955,10 +971,16 @@ spec:
955971
type: string
956972
type: object
957973
ipxeScript:
974+
description: IpxeScript is the custom iPXE script that will run when
975+
the instance boots.
958976
type: string
959977
isPvEncryptionInTransitEnabled:
960978
description: Is in transit encryption of volumes required.
961979
type: boolean
980+
launchMode:
981+
description: LaunchMode specifies the configuration mode for launching
982+
virtual machine (VM) instances.
983+
type: string
962984
launchOptions:
963985
description: LaunchOptions defines the options for tuning the compatibility
964986
and performance of VM shapes

config/crd/bases/infrastructure.cluster.x-k8s.io_ocimachinetemplates.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,12 @@ spec:
153153
compartmentId:
154154
description: Compartment to launch the instance in.
155155
type: string
156+
computeClusterId:
157+
description: ComputeClusterId refers to OCID of the compute
158+
cluster that the instance will be created in. Please refer
159+
https://docs.oracle.com/en-us/iaas/Content/Compute/Tasks/compute-clusters.htm
160+
for more details
161+
type: string
156162
dedicatedVmHostId:
157163
description: DedicatedVmHostId defines the OCID of the dedicated
158164
VM host.
@@ -213,10 +219,16 @@ spec:
213219
type: string
214220
type: object
215221
ipxeScript:
222+
description: IpxeScript is the custom iPXE script that will
223+
run when the instance boots.
216224
type: string
217225
isPvEncryptionInTransitEnabled:
218226
description: Is in transit encryption of volumes required.
219227
type: boolean
228+
launchMode:
229+
description: LaunchMode specifies the configuration mode for
230+
launching virtual machine (VM) instances.
231+
type: string
220232
launchOptions:
221233
description: LaunchOptions defines the options for tuning
222234
the compatibility and performance of VM shapes
@@ -893,6 +905,12 @@ spec:
893905
compartmentId:
894906
description: Compartment to launch the instance in.
895907
type: string
908+
computeClusterId:
909+
description: ComputeClusterId refers to OCID of the compute
910+
cluster that the instance will be created in. Please refer
911+
https://docs.oracle.com/en-us/iaas/Content/Compute/Tasks/compute-clusters.htm
912+
for more details
913+
type: string
896914
dedicatedVmHostId:
897915
description: DedicatedVmHostId defines the OCID of the dedicated
898916
VM host.
@@ -953,10 +971,16 @@ spec:
953971
type: string
954972
type: object
955973
ipxeScript:
974+
description: IpxeScript is the custom iPXE script that will
975+
run when the instance boots.
956976
type: string
957977
isPvEncryptionInTransitEnabled:
958978
description: Is in transit encryption of volumes required.
959979
type: boolean
980+
launchMode:
981+
description: LaunchMode specifies the configuration mode for
982+
launching virtual machine (VM) instances.
983+
type: string
960984
launchOptions:
961985
description: LaunchOptions defines the options for tuning
962986
the compatibility and performance of VM shapes

0 commit comments

Comments
 (0)