Skip to content

Commit

Permalink
Merge pull request #278 from wking/default-machine-platform
Browse files Browse the repository at this point in the history
pkg/types: Add DefaultMachinePlatform
  • Loading branch information
openshift-merge-robot authored Sep 19, 2018
2 parents 0199eeb + 9654436 commit c922030
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion pkg/types/installconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ type AWSPlatform struct {
// UserTags specifies additional tags for AWS resources created for the cluster.
UserTags map[string]string `json:"userTags,omitempty"`

// DefaultMachinePlatform is the default configuration used when
// installing on AWS for machine pools which do not define their own
// platform configuration.
DefaultMachinePlatform *AWSMachinePoolPlatform `json:"defaultMachinePlatform,omitempty"`

// VPCID specifies the vpc to associate with the cluster.
// If empty, new vpc will be created.
// +optional
Expand All @@ -95,9 +100,16 @@ type AWSPlatform struct {
// LibvirtPlatform stores all the global configuration that
// all machinesets use.
type LibvirtPlatform struct {
// URI
// URI is the identifier for the libvirtd connection. It must be
// reachable from both the host (where the installer is run) and the
// cluster (where the cluster-API controller pod will be running).
URI string `json:"URI"`

// DefaultMachinePlatform is the default configuration used when
// installing on AWS for machine pools which do not define their own
// platform configuration.
DefaultMachinePlatform *LibvirtMachinePoolPlatform `json:"defaultMachinePlatform,omitempty"`

// Network
Network LibvirtNetwork `json:"network"`

Expand Down

0 comments on commit c922030

Please sign in to comment.