Documentation ¶
Overview ¶
Package aws contains AWS-specific structures for installer configuration and management.
Index ¶
Constants ¶
View Source
const Name string = "aws"
Name is name for the AWS platform.
Variables ¶
This section is empty.
Functions ¶
func IsSecretRegion ¶
IsSecretRegion returns true if the region is part of either the ISO or ISOB partitions.
Types ¶
type Metadata ¶
type Metadata struct { Region string `json:"region"` // ServiceEndpoints list contains custom endpoints which will override default // service endpoint of AWS Services. // There must be only one ServiceEndpoint for a service. // +optional ServiceEndpoints []ServiceEndpoint `json:"serviceEndpoints,omitempty"` // Identifier holds a slice of filter maps. The maps hold the // key/value pairs for the tags we will be matching against. A // resource matches the map if all of the key/value pairs are in its // tags. A resource matches Identifier if it matches any of the maps. Identifier []map[string]string `json:"identifier"` // ClusterDomain is the domain for the cluster. ClusterDomain string `json:"clusterDomain"` }
Metadata contains AWS metadata (e.g. for uninstalling the cluster).
type Platform ¶
type Platform struct { // AMIID is the AMI that should be used to boot machines for the cluster. // If set, the AMI should belong to the same region as the cluster. // // +optional AMIID string `json:"amiID,omitempty"` // Region specifies the AWS region where the cluster will be created. Region string `json:"region"` // Subnets specifies existing subnets (by ID) where cluster // resources will be created. Leave unset to have the installer // create subnets in a new VPC on your behalf. // // +optional Subnets []string `json:"subnets,omitempty"` // HostedZone is the ID of an existing hosted zone into which to add DNS // records for the cluster's internal API. An existing hosted zone can // only be used when also using existing subnets. The hosted zone must be // associated with the VPC containing the subnets. // Leave the hosted zone unset to have the installer create the hosted zone // on your behalf. // +optional HostedZone string `json:"hostedZone,omitempty"` // UserTags additional keys and values that the installer will add // as tags to all resources that it creates. Resources created by the // cluster itself may not include these tags. // +optional UserTags map[string]string `json:"userTags,omitempty"` // ServiceEndpoints list contains custom endpoints which will override default // service endpoint of AWS Services. // There must be only one ServiceEndpoint for a service. // +optional ServiceEndpoints []ServiceEndpoint `json:"serviceEndpoints,omitempty"` // PropagateUserTags is a flag that directs in-cluster operators // to include the specified user tags in the tags of the // AWS resources that the operators create. // +optional PropagateUserTag bool `json:"propagateUserTags,omitempty"` }
Platform stores all the global configuration that all machinesets use.
type ServiceEndpoint ¶
type ServiceEndpoint struct { // Name is the name of the AWS service. // This must be provided and cannot be empty. Name string `json:"name"` // URL is fully qualified URI with scheme https, that overrides the default generated // endpoint for a client. // This must be provided and cannot be empty. // // +kubebuilder:validation:Pattern=`^https://` URL string `json:"url"` }
ServiceEndpoint store the configuration for services to override existing defaults of AWS Services.
Click to show internal directories.
Click to hide internal directories.