cilium

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

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.

Jump to

Keyboard shortcuts

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