Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ConfigMapName is the name of the ConfigMap containing the API endpoint ConfigMapName = "cp-api-endpoint" // ConfigMapNamespace is the namespace where the ConfigMap is created ConfigMapNamespace = "kube-system" )
Variables ¶
This section is empty.
Functions ¶
func EnsureAPIEndpointConfigMap ¶
func EnsureAPIEndpointConfigMap( ctx context.Context, managementClient client.Client, colony *infrav1.Colony, clusterName string, exposedEndpoint string, scheme *runtime.Scheme, regionalClient ...client.Client, ) error
EnsureAPIEndpointConfigMap creates or updates the cp-api-endpoint ConfigMap in the child cluster with the control plane API server endpoint information. If regionalClient is non-nil, it is used to fetch the kubeconfig secret (for regional children whose kubeconfig lives on the regional cluster rather than the management cluster).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.