resources

package
v1.5.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ProvisioningCloudConfig mcbootstrap.CloudConfigSecret = "provisioning"

	OperatingSystemConfigNamePattern        = "%s-%s-config"
	MachineDeploymentOSPAnnotation          = "k8c.io/operating-system-profile"
	MachineDeploymentOSPNamespaceAnnotation = "k8c.io/operating-system-profile-namespace"
)

Variables

This section is empty.

Functions

func GenerateCloudConfigSecret added in v0.4.0

func GenerateCloudConfigSecret(name, namespace string, data []byte) *corev1.Secret

GenerateCloudConfigSecret returns a secret that contains the cloud-init or ignition configurations.

func GenerateOperatingSystemConfig added in v0.4.0

func GenerateOperatingSystemConfig(
	md *v1alpha1.MachineDeployment,
	osp *osmv1alpha1.OperatingSystemProfile,
	bootstrapKubeconfig *clientcmdapi.Config,
	bootstrapKubeconfigSecretName string,
	apiServerToken string,
	oscName string,
	namespace string,
	caCert string,
	clusterDNSIPs []net.IP,
	containerRuntime string,
	externalCloudProvider bool,
	pauseImage string,
	initialTaints string,
	nodeHTTPProxy string,
	nodeNoProxy string,
	containerRuntimeConfig containerruntime.Config,
	kubeletFeatureGates map[string]bool,
) (*osmv1alpha1.OperatingSystemConfig, error)

GenerateOperatingSystemConfig return an OperatingSystemConfig generated against the input data

Types

This section is empty.

Jump to

Keyboard shortcuts

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