azure

package
v0.1.73 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ComponentName = "azure-cloud-controller-manager"
)
View Source
const (
	ConfigKey = "cloud.conf"
)

Variables

This section is empty.

Functions

func NewComponent

func NewComponent() component.ControlPlaneComponent

Types

type AzureConfig

type AzureConfig struct {
	Cloud                                 string `json:"cloud"`
	TenantID                              string `json:"tenantId"`
	UseManagedIdentityExtension           bool   `json:"useManagedIdentityExtension"`
	UseFederatedWorkloadIdentityExtension bool   `json:"useFederatedWorkloadIdentityExtension"`
	SubscriptionID                        string `json:"subscriptionId"`
	AADClientID                           string `json:"aadClientId"`
	// TODO HOSTEDCP-1542 - Bryan - drop client secret once we have WorkloadIdentity working
	AADClientSecret                                 string `json:"aadClientSecret"`
	AADClientCertPath                               string `json:"aadClientCertPath"`
	AADFederatedTokenFile                           string `json:"aadFederatedTokenFile"`
	AADMSIDataPlaneIdentityPath                     string `json:"aadMSIDataPlaneIdentityPath"`
	ResourceGroup                                   string `json:"resourceGroup"`
	Location                                        string `json:"location"`
	VnetName                                        string `json:"vnetName"`
	VnetResourceGroup                               string `json:"vnetResourceGroup"`
	SubnetName                                      string `json:"subnetName"`
	SecurityGroupName                               string `json:"securityGroupName"`
	SecurityGroupResourceGroup                      string `json:"securityGroupResourceGroup"`
	RouteTableName                                  string `json:"routeTableName"`
	CloudProviderBackoff                            bool   `json:"cloudProviderBackoff"`
	CloudProviderBackoffDuration                    int    `json:"cloudProviderBackoffDuration"`
	UseInstanceMetadata                             bool   `json:"useInstanceMetadata"`
	LoadBalancerSku                                 string `json:"loadBalancerSku"`
	DisableOutboundSNAT                             bool   `json:"disableOutboundSNAT"`
	LoadBalancerName                                string `json:"loadBalancerName"`
	ClusterServiceLoadBalancerHealthProbeMode       string `json:"clusterServiceLoadBalancerHealthProbeMode"`
	ClusterServiceSharedLoadBalancerHealthProbePath string `json:"clusterServiceSharedLoadBalancerHealthProbePath,omitempty"`
	ClusterServiceSharedLoadBalancerHealthProbePort int32  `json:"clusterServiceSharedLoadBalancerHealthProbePort,omitempty"`
}

AzureConfig was originally a copy of the relevant subset of the upstream type at https://github.com/kubernetes/kubernetes/blob/30a21e9abdbbeb78d2b7ce59a79e46299ced2742/staging/src/k8s.io/legacy-cloud-providers/azure/azure.go#L123 in order to not pick up the huge amount of transient dependencies that type pulls in. Now the source is https://github.com/kubernetes-sigs/cloud-provider-azure/blob/e5d670328a51e31787fc949ddf41a3efcd90d651/examples/out-of-tree/cloud-controller-manager.yaml#L232 https://github.com/kubernetes-sigs/cloud-provider-azure/tree/e5d670328a51e31787fc949ddf41a3efcd90d651/pkg/provider/config

Jump to

Keyboard shortcuts

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