aws

package
v0.1.35 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Provider          = util.AWSCloudProviderName
	ProviderConfigKey = "aws.conf"
)

Variables

This section is empty.

Functions

func AWSKMSCredsSecret

func AWSKMSCredsSecret(controlPlaneNamespace string) *corev1.Secret

func CCMDeployment added in v0.1.10

func CCMDeployment(ns string) *appsv1.Deployment

func CCMServiceAccount added in v0.1.10

func CCMServiceAccount(ns string) *corev1.ServiceAccount

func KubeCloudControllerCredsSecret

func KubeCloudControllerCredsSecret(controlPlaneNamespace string) *corev1.Secret

func ReconcileCCMServiceAccount added in v0.1.10

func ReconcileCCMServiceAccount(sa *corev1.ServiceAccount, ownerRef config.OwnerRef) error

func ReconcileDeployment added in v0.1.10

func ReconcileDeployment(deployment *appsv1.Deployment, hcp *hyperv1.HostedControlPlane, deploymentConfig config.DeploymentConfig, serviceAccountName string, releaseImageProvider *imageprovider.ReleaseImageProvider) error

Types

type AWSParams

type AWSParams struct {
	Zone             string                  `json:"zone"`
	VPC              string                  `json:"vpc"`
	ClusterID        string                  `json:"clusterID"`
	SubnetID         string                  `json:"subnetID"`
	OwnerRef         *metav1.OwnerReference  `json:"ownerRef"`
	DeploymentConfig config.DeploymentConfig `json:"deploymentConfig"`
}

func NewAWSParams

func NewAWSParams(hcp *hyperv1.HostedControlPlane) *AWSParams

func (*AWSParams) ReconcileCloudConfig

func (p *AWSParams) ReconcileCloudConfig(cm *corev1.ConfigMap) error

Jump to

Keyboard shortcuts

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