Skip to content

Commit f5e6dc9

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

7 files changed

+0
-52
lines changed

api/v1beta1/ocimachine_types.go

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,6 @@ type OCIMachineSpec struct {
5252
// Please refer https://docs.oracle.com/en-us/iaas/Content/Compute/Tasks/compute-clusters.htm for more details
5353
ComputeClusterId *string `json:"computeClusterId,omitempty"`
5454

55-
// LaunchMode specifies the configuration mode for launching virtual machine (VM) instances.
56-
LaunchMode *LaunchMode `json:"launchMode,omitempty"`
57-
5855
// IpxeScript is the custom iPXE script that will run when the instance boots.
5956
IpxeScript *string `json:"ipxeScript,omitempty"`
6057

@@ -175,15 +172,6 @@ type OCIMachineStatus struct {
175172
Conditions clusterv1.Conditions `json:"conditions,omitempty"`
176173
}
177174

178-
type LaunchMode string
179-
180-
const (
181-
LaunchModeNative LaunchMode = "NATIVE"
182-
LaunchModeEmulated LaunchMode = "EMULATED"
183-
LaunchModeParavirtualized LaunchMode = "PARAVIRTUALIZED"
184-
LaunchModeCustom LaunchMode = "CUSTOM"
185-
)
186-
187175
//+kubebuilder:object:root=true
188176
//+kubebuilder:subresource:status
189177

api/v1beta1/zz_generated.conversion.go

Lines changed: 0 additions & 2 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: 0 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/v1beta2/ocimachine_types.go

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,6 @@ type OCIMachineSpec struct {
5252
// Please refer https://docs.oracle.com/en-us/iaas/Content/Compute/Tasks/compute-clusters.htm for more details
5353
ComputeClusterId *string `json:"computeClusterId,omitempty"`
5454

55-
// LaunchMode specifies the configuration mode for launching virtual machine (VM) instances.
56-
LaunchMode *LaunchMode `json:"launchMode,omitempty"`
57-
5855
// IpxeScript is the custom iPXE script that will run when the instance boots.
5956
IpxeScript *string `json:"ipxeScript,omitempty"`
6057

@@ -168,15 +165,6 @@ type OCIMachineStatus struct {
168165
Conditions clusterv1.Conditions `json:"conditions,omitempty"`
169166
}
170167

171-
type LaunchMode string
172-
173-
const (
174-
LaunchModeNative LaunchMode = "NATIVE"
175-
LaunchModeEmulated LaunchMode = "EMULATED"
176-
LaunchModeParavirtualized LaunchMode = "PARAVIRTUALIZED"
177-
LaunchModeCustom LaunchMode = "CUSTOM"
178-
)
179-
180168
//+kubebuilder:object:root=true
181169
//+kubebuilder:subresource:status
182170
// +kubebuilder:storageversion

api/v1beta2/zz_generated.deepcopy.go

Lines changed: 0 additions & 5 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: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -205,10 +205,6 @@ spec:
205205
isPvEncryptionInTransitEnabled:
206206
description: Is in transit encryption of volumes required.
207207
type: boolean
208-
launchMode:
209-
description: LaunchMode specifies the configuration mode for launching
210-
virtual machine (VM) instances.
211-
type: string
212208
launchOptions:
213209
description: LaunchOptions defines the options for tuning the compatibility
214210
and performance of VM shapes
@@ -977,10 +973,6 @@ spec:
977973
isPvEncryptionInTransitEnabled:
978974
description: Is in transit encryption of volumes required.
979975
type: boolean
980-
launchMode:
981-
description: LaunchMode specifies the configuration mode for launching
982-
virtual machine (VM) instances.
983-
type: string
984976
launchOptions:
985977
description: LaunchOptions defines the options for tuning the compatibility
986978
and performance of VM shapes

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -225,10 +225,6 @@ spec:
225225
isPvEncryptionInTransitEnabled:
226226
description: Is in transit encryption of volumes required.
227227
type: boolean
228-
launchMode:
229-
description: LaunchMode specifies the configuration mode for
230-
launching virtual machine (VM) instances.
231-
type: string
232228
launchOptions:
233229
description: LaunchOptions defines the options for tuning
234230
the compatibility and performance of VM shapes
@@ -977,10 +973,6 @@ spec:
977973
isPvEncryptionInTransitEnabled:
978974
description: Is in transit encryption of volumes required.
979975
type: boolean
980-
launchMode:
981-
description: LaunchMode specifies the configuration mode for
982-
launching virtual machine (VM) instances.
983-
type: string
984976
launchOptions:
985977
description: LaunchOptions defines the options for tuning
986978
the compatibility and performance of VM shapes

0 commit comments

Comments
 (0)