github.com/openshift/installer@v1.4.17/pkg/types/powervs/platform.go (about)

     1  package powervs
     2  
     3  import (
     4  	configv1 "github.com/openshift/api/config/v1"
     5  )
     6  
     7  // Platform stores all the global configuration that all machinesets
     8  // use.
     9  type Platform struct {
    10  
    11  	// PowerVSResourceGroup is the resource group in which Power VS resources will be created.
    12  	PowerVSResourceGroup string `json:"powervsResourceGroup"`
    13  
    14  	// Region specifies the IBM Cloud colo region where the cluster will be created.
    15  	Region string `json:"region,omitempty"`
    16  
    17  	// Zone specifies the IBM Cloud colo region where the cluster will be created.
    18  	// At this time, only single-zone clusters are supported.
    19  	Zone string `json:"zone"`
    20  
    21  	// VPCRegion specifies the IBM Cloud region in which to create VPC resources.
    22  	// Leave unset to allow installer to select the closest VPC region.
    23  	//
    24  	// +optional
    25  	VPCRegion string `json:"vpcRegion,omitempty"`
    26  
    27  	// UserID is the login for the user's IBM Cloud account.
    28  	UserID string `json:"userID"`
    29  
    30  	// VPCName is the name of a pre-created VPC inside IBM Cloud.
    31  	//
    32  	// +optional
    33  	VPCName string `json:"vpcName,omitempty"`
    34  
    35  	// VPCSubnets specifies existing subnets (by ID) where cluster
    36  	// resources will be created.  Leave unset to have the installer
    37  	// create subnets in a new VPC on your behalf.
    38  	//
    39  	// +optional
    40  	VPCSubnets []string `json:"vpcSubnets,omitempty"`
    41  
    42  	// ClusterOSImage is a pre-created Power VS boot image that overrides the
    43  	// default image for cluster nodes.
    44  	//
    45  	// +optional
    46  	ClusterOSImage string `json:"clusterOSImage,omitempty"`
    47  
    48  	// DefaultMachinePlatform is the default configuration used when
    49  	// installing on Power VS for machine pools which do not define their own
    50  	// platform configuration.
    51  	// +optional
    52  	DefaultMachinePlatform *MachinePool `json:"defaultMachinePlatform,omitempty"`
    53  
    54  	// ServiceInstanceGUID is the GUID of the Power IAAS instance created from the IBM Cloud Catalog
    55  	// before the cluster is completed.  Leave unset to allow the installer to create a service
    56  	// instance during cluster creation.
    57  	// +optional
    58  	ServiceInstanceGUID string `json:"serviceInstanceGUID,omitempty"`
    59  
    60  	// ServiceEndpoints is a list which contains custom endpoints to override default
    61  	// service endpoints of IBM Cloud Services.
    62  	// There must only be one ServiceEndpoint for a service (no duplicates).
    63  	// +optional
    64  	ServiceEndpoints []configv1.PowerVSServiceEndpoint `json:"serviceEndpoints,omitempty"`
    65  }