Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TFVars ¶
func TFVars(sources TFVarsSources) ([]byte, error)
TFVars generates Azure-specific Terraform variables launching the cluster.
Types ¶
type Auth ¶
type Auth struct { SubscriptionID string `json:"azure_subscription_id,omitempty"` ClientID string `json:"azure_client_id,omitempty"` ClientSecret string `json:"azure_client_secret,omitempty"` TenantID string `json:"azure_tenant_id,omitempty"` ClientCertificatePath string `json:"azure_certificate_path,omitempty"` ClientCertificatePassword string `json:"azure_certificate_password,omitempty"` UseMSI bool `json:"azure_use_msi,omitempty"` }
Auth is the collection of credentials that will be used by terrform.
type OSImage ¶ added in v0.9.153
type OSImage struct { Publisher string `json:"azure_marketplace_image_publisher,omitempty"` Offer string `json:"azure_marketplace_image_offer,omitempty"` SKU string `json:"azure_marketplace_image_sku,omitempty"` Version string `json:"azure_marketplace_image_version,omitempty"` }
OSImage is the marketplace image to be used for RHCOS.
type TFVarsSources ¶
type TFVarsSources struct { Auth Auth CloudName azure.CloudEnvironment ARMEndpoint string ResourceGroupName string BaseDomainResourceGroupName string MasterConfigs []*machineapi.AzureMachineProviderSpec WorkerConfigs []*machineapi.AzureMachineProviderSpec ImageURL string ImageRelease string PreexistingNetwork bool Publish types.PublishingStrategy OutboundType azure.OutboundType BootstrapIgnStub string BootstrapIgnitionURLPlaceholder string HyperVGeneration string VMArchitecture types.Architecture InfrastructureName string KeyVault azure.KeyVault UserAssignedIdentityKey string LBPrivate bool }
TFVarsSources contains the parameters to be converted into Terraform variables
Click to show internal directories.
Click to hide internal directories.