resources

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2022 License: Apache-2.0 Imports: 24 Imported by: 3

Documentation

Index

Constants

View Source
const (
	ProvisioningCloudConfig CloudConfigSecret = "provisioning"

	MachineDeploymentSubresourceNamePattern = "%s-osc-%s"
	MachineDeploymentOSPAnnotation          = "k8c.io/operating-system-profile"
)

Variables

This section is empty.

Functions

func CloudConfigSecretCreator

func CloudConfigSecretCreator(mdName string, oscType CloudConfigSecret, data []byte) reconciling.NamedSecretCreatorGetter

CloudConfigSecretCreator returns a function to create a secret that contains the cloud-init or ignition configurations.

func OperatingSystemConfigCreator

func OperatingSystemConfigCreator(
	md *v1alpha1.MachineDeployment,
	osp *osmv1alpha1.OperatingSystemProfile,
	workerClusterKubeconfig string,
	clusterDNSIPs []net.IP,
	containerRuntime string,
	externalCloudProvider bool,
	pauseImage string,
	initialTaints string,
	nodeHTTPProxy string,
	nodeNoProxy string,
	nodePortRange string,
	podCidr string,
) reconciling.NamedOperatingSystemConfigCreatorGetter

Types

type CloudConfigSecret

type CloudConfigSecret string

type OperatingSystemConfig

type OperatingSystemConfig struct {
	AmazonLinuxConfig amzn2.Config
	CentOSConfig      centos.Config
	FlatcarConfig     flatcar.Config
	RhelConfig        rhel.Config
	SlesConfig        sles.Config
	UbuntuConfig      ubuntu.Config
}

Jump to

Keyboard shortcuts

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