gcp

package
v0.90.99 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 16 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloudControllerUID

func CloudControllerUID(infraID string) *corev1.ConfigMap

CloudControllerUID returns a configmap with a unique UID per cluster used by the GCP cloud controller provider to name load balancer resources. This is based on GCP provider code that manages this configmap: https://github.com/openshift/kubernetes/blob/a45281f7de40f996f67d0ee7b886add59e7b5e8d/pkg/cloudprovider/providers/gce/gce_clusterid.go#L38-L57

func CloudProviderConfig

func CloudProviderConfig(infraID, projectID, subnet, networkProjectID string) (string, error)

CloudProviderConfig generates the cloud provider config for the GCP platform.

func GenerateClusterAssets added in v0.90.0

func GenerateClusterAssets(installConfig *installconfig.InstallConfig, clusterID *installconfig.ClusterID) (*capiutils.GenerateClusterAssetsOutput, error)

GenerateClusterAssets generates the manifests for the cluster-api.

Types

type ClusterCSIDriverConfig

type ClusterCSIDriverConfig struct {
	Name      string
	KeyRing   string
	ProjectID string
	Location  string
}

ClusterCSIDriverConfig is the GCP config for the cluster CSI Driver.

func (ClusterCSIDriverConfig) YAML

func (params ClusterCSIDriverConfig) YAML() ([]byte, error)

YAML generates the cluster CSI driver config for the GCP platform.

Jump to

Keyboard shortcuts

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