azure

package
v1.14.16-dcf8320c8c4e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 8 Imported by: 2

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL