Documentation ¶
Index ¶
- Constants
- func CloudControllerUID(infraID string) *corev1.ConfigMap
- func CloudProviderConfig(infraID, projectID, subnet, networkProjectID string) (string, error)
- func GenerateClusterAssets(installConfig *installconfig.InstallConfig, clusterID *installconfig.ClusterID) (*capiutils.GenerateClusterAssetsOutput, error)
- func GetTagsFromInstallConfig(installConfig *installconfig.InstallConfig) []capg.ResourceManagerTag
- type ClusterCSIDriverConfig
Constants ¶
const InstanceGroupRoleTag = "master"
InstanceGroupRoleTag is the tag used in the instance group name to maintain compatibility between MAPI & CAPI.
Variables ¶
This section is empty.
Functions ¶
func CloudControllerUID ¶
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 ¶
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.
func GetTagsFromInstallConfig ¶ added in v0.90.17
func GetTagsFromInstallConfig(installConfig *installconfig.InstallConfig) []capg.ResourceManagerTag
GetTagsFromInstallConfig will return a slice of ResourceManagerTags from UserTags in install-config.
Types ¶
type ClusterCSIDriverConfig ¶
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.