Documentation ¶
Index ¶
- Constants
- type AzureBotanist
- func (b *AzureBotanist) DeployBackupInfrastructure() error
- func (b *AzureBotanist) DeployCloudSpecificControlPlane() error
- func (b *AzureBotanist) DeployKube2IAMResources() error
- func (b *AzureBotanist) DestroyBackupInfrastructure() error
- func (b *AzureBotanist) DestroyKube2IAMResources() error
- func (b *AzureBotanist) GenerateCSIConfig() (map[string]interface{}, error)
- func (b *AzureBotanist) GenerateCloudConfigUserDataConfig() *common.CloudConfigUserDataConfig
- func (b *AzureBotanist) GenerateCloudControllerManagerConfig() (map[string]interface{}, string, error)
- func (b *AzureBotanist) GenerateCloudProviderConfig() (string, error)
- func (b *AzureBotanist) GenerateETCDStorageClassConfig() map[string]interface{}
- func (b *AzureBotanist) GenerateEtcdBackupConfig() (map[string][]byte, map[string]interface{}, error)
- func (b *AzureBotanist) GenerateKube2IAMConfig() (map[string]interface{}, error)
- func (b *AzureBotanist) GenerateKubeAPIServerConfig() (map[string]interface{}, error)
- func (b *AzureBotanist) GenerateKubeAPIServerExposeConfig() (map[string]interface{}, error)
- func (b *AzureBotanist) GenerateKubeAPIServerServiceConfig() (map[string]interface{}, error)
- func (b *AzureBotanist) GenerateKubeControllerManagerConfig() (map[string]interface{}, error)
- func (b *AzureBotanist) GenerateKubeSchedulerConfig() (map[string]interface{}, error)
- func (b *AzureBotanist) GenerateNginxIngressConfig() (map[string]interface{}, error)
- func (b *AzureBotanist) GenerateStorageClassesConfig() (map[string]interface{}, error)
- func (b *AzureBotanist) GenerateVPNShootConfig() (map[string]interface{}, error)
- func (b *AzureBotanist) GetCloudProviderName() string
- func (b *AzureBotanist) RefreshCloudProviderConfig(currentConfig map[string]string) map[string]string
Constants ¶
const ( // SubscriptionID is a constant for the key in a cloud provider secret that holds the Azure subscription id. SubscriptionID = "subscriptionID" // TenantID is a constant for the key in a cloud provider secret that holds the Azure tenant id. TenantID = "tenantID" // ClientID is a constant for the key in a cloud provider secret that holds the Azure client id. ClientID = "clientID" // ClientSecret is a constant for the key in a cloud provider secret that holds the Azure client secret. ClientSecret = "clientSecret" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureBotanist ¶
AzureBotanist is a struct which has methods that perform Azure cloud-specific operations for a Shoot cluster.
func New ¶
func New(o *operation.Operation, purpose string) (*AzureBotanist, error)
New takes an operation object <o> and creates a new AzureBotanist object.
func (*AzureBotanist) DeployBackupInfrastructure ¶
func (b *AzureBotanist) DeployBackupInfrastructure() error
DeployBackupInfrastructure kicks off a Terraform job which creates the infrastructure resources for backup.
func (*AzureBotanist) DeployCloudSpecificControlPlane ¶
func (b *AzureBotanist) DeployCloudSpecificControlPlane() error
DeployCloudSpecificControlPlane does currently nothing for Azure.
func (*AzureBotanist) DeployKube2IAMResources ¶
func (b *AzureBotanist) DeployKube2IAMResources() error
DeployKube2IAMResources - Not needed on Azure
func (*AzureBotanist) DestroyBackupInfrastructure ¶
func (b *AzureBotanist) DestroyBackupInfrastructure() error
DestroyBackupInfrastructure kicks off a Terraform job which destroys the infrastructure for backup.
func (*AzureBotanist) DestroyKube2IAMResources ¶
func (b *AzureBotanist) DestroyKube2IAMResources() error
DestroyKube2IAMResources - Not needed on Azure.
func (*AzureBotanist) GenerateCSIConfig ¶
func (b *AzureBotanist) GenerateCSIConfig() (map[string]interface{}, error)
GenerateCSIConfig generates the configuration for CSI charts
func (*AzureBotanist) GenerateCloudConfigUserDataConfig ¶
func (b *AzureBotanist) GenerateCloudConfigUserDataConfig() *common.CloudConfigUserDataConfig
GenerateCloudConfigUserDataConfig generates values which are required to render the chart shoot-cloud-config properly.
func (*AzureBotanist) GenerateCloudControllerManagerConfig ¶
func (b *AzureBotanist) GenerateCloudControllerManagerConfig() (map[string]interface{}, string, error)
GenerateCloudControllerManagerConfig generates the cloud provider specific values which are required to render the Deployment manifest of the cloud-controller-manager properly.
func (*AzureBotanist) GenerateCloudProviderConfig ¶
func (b *AzureBotanist) GenerateCloudProviderConfig() (string, error)
GenerateCloudProviderConfig returns a cloud provider config for the Azure cloud provider See this for more details: https://github.com/kubernetes/kubernetes/blob/master/pkg/cloudprovider/providers/azure/azure.go
func (*AzureBotanist) GenerateETCDStorageClassConfig ¶
func (b *AzureBotanist) GenerateETCDStorageClassConfig() map[string]interface{}
GenerateETCDStorageClassConfig generates values which are required to create etcd volume storageclass properly.
func (*AzureBotanist) GenerateEtcdBackupConfig ¶
func (b *AzureBotanist) GenerateEtcdBackupConfig() (map[string][]byte, map[string]interface{}, error)
GenerateEtcdBackupConfig returns the etcd backup configuration for the etcd Helm chart.
func (*AzureBotanist) GenerateKube2IAMConfig ¶
func (b *AzureBotanist) GenerateKube2IAMConfig() (map[string]interface{}, error)
GenerateKube2IAMConfig - Not needed on Azure.
func (*AzureBotanist) GenerateKubeAPIServerConfig ¶
func (b *AzureBotanist) GenerateKubeAPIServerConfig() (map[string]interface{}, error)
GenerateKubeAPIServerConfig generates the cloud provider specific values which are required to render the Deployment manifest of the kube-apiserver properly.
func (*AzureBotanist) GenerateKubeAPIServerExposeConfig ¶
func (b *AzureBotanist) GenerateKubeAPIServerExposeConfig() (map[string]interface{}, error)
GenerateKubeAPIServerExposeConfig defines the cloud provider specific values which configure how the kube-apiserver is exposed to the public.
func (*AzureBotanist) GenerateKubeAPIServerServiceConfig ¶
func (b *AzureBotanist) GenerateKubeAPIServerServiceConfig() (map[string]interface{}, error)
GenerateKubeAPIServerServiceConfig generates the cloud provider specific values which are required to render the Service manifest of the kube-apiserver-service properly.
func (*AzureBotanist) GenerateKubeControllerManagerConfig ¶
func (b *AzureBotanist) GenerateKubeControllerManagerConfig() (map[string]interface{}, error)
GenerateKubeControllerManagerConfig generates the cloud provider specific values which are required to render the Deployment manifest of the kube-controller-manager properly.
func (*AzureBotanist) GenerateKubeSchedulerConfig ¶
func (b *AzureBotanist) GenerateKubeSchedulerConfig() (map[string]interface{}, error)
GenerateKubeSchedulerConfig generates the cloud provider specific values which are required to render the Deployment manifest of the kube-scheduler properly.
func (*AzureBotanist) GenerateNginxIngressConfig ¶
func (b *AzureBotanist) GenerateNginxIngressConfig() (map[string]interface{}, error)
GenerateNginxIngressConfig generates values which are required to render the chart nginx-ingress properly.
func (*AzureBotanist) GenerateStorageClassesConfig ¶
func (b *AzureBotanist) GenerateStorageClassesConfig() (map[string]interface{}, error)
GenerateStorageClassesConfig generates values which are required to render the chart shoot-storageclasses properly.
func (*AzureBotanist) GenerateVPNShootConfig ¶
func (b *AzureBotanist) GenerateVPNShootConfig() (map[string]interface{}, error)
GenerateVPNShootConfig generate cloud-specific vpn override - nothing unique for aws
func (*AzureBotanist) GetCloudProviderName ¶
func (b *AzureBotanist) GetCloudProviderName() string
GetCloudProviderName returns the Kubernetes cloud provider name for this cloud.
func (*AzureBotanist) RefreshCloudProviderConfig ¶
func (b *AzureBotanist) RefreshCloudProviderConfig(currentConfig map[string]string) map[string]string
RefreshCloudProviderConfig refreshes the cloud provider credentials in the existing cloud provider config.