Skip to content

Commit

Permalink
Add params to machinepool and support instance configuration upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
shyamradhakrishnan committed Dec 6, 2022
1 parent 22c2e3d commit c25f849
Show file tree
Hide file tree
Showing 7,330 changed files with 3,258 additions and 1,931,252 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 2 additions & 2 deletions api/v1beta1/ocimachine_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ type OCIMachineSpec struct {
// PreemptibleInstanceConfig Configuration options for preemptible instances.
PreemptibleInstanceConfig *PreemptibleInstanceConfig `json:"preemptibleInstanceConfig,omitempty"`

// LaunchInstanceAgentConfig defines the options for the Oracle Cloud Agent software running on the instance.
// AgentConfig defines the options for the Oracle Cloud Agent software running on the instance.
AgentConfig *LaunchInstanceAgentConfig `json:"agentConfig,omitempty"`

// InstanceSourceViaImageConfig defines the options for booting up instances via images
InstanceSourceViaImageDetails *InstanceSourceViaImageConfig `json:"instanceSourceViaImageConfig,omitempty"`

// InstanceSourceViaImageConfig defines the platform config parameters
// PlatformConfig defines the platform config parameters
PlatformConfig *PlatformConfig `json:"platformConfig,omitempty"`

// DedicatedVmHostId defines the OCID of the dedicated VM host.
Expand Down
2 changes: 1 addition & 1 deletion cloud/scope/clients_mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func MockAuthConfig() (config.AuthConfig, error) {
authConfig := config.AuthConfig{
UseInstancePrincipals: false,
Region: MockTestRegion,
Fingerprint: "mock-finger-print",
Fingerprint: "mock_computemanagement-finger-print",
PrivateKey: privateKey,
UserID: "ocid1.tenancy.oc1..<unique_ID>",
TenancyID: "ocid1.tenancy.oc1..<unique_ID>",
Expand Down
586 changes: 476 additions & 110 deletions cloud/scope/machine_pool.go

Large diffs are not rendered by default.

Loading

0 comments on commit c25f849

Please sign in to comment.