Documentation ¶
Index ¶
Constants ¶
View Source
const ( ProvisioningCloudConfig CloudConfigSecret = "provisioning" MachineDeploymentSubresourceNamePattern = "%s-%s-osc-%s" MachineDeploymentOSPAnnotation = "k8c.io/operating-system-profile" )
Variables ¶
This section is empty.
Functions ¶
func GenerateCloudConfigSecret ¶ added in v0.4.0
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, oscName string, namespace string, caCert string, clusterDNSIPs []net.IP, containerRuntime string, externalCloudProvider bool, pauseImage string, initialTaints string, nodeHTTPProxy string, nodeNoProxy string, nodePortRange string, podCidr string, containerRuntimeConfig containerruntime.Config, kubeletFeatureGates map[string]bool, ) (*osmv1alpha1.OperatingSystemConfig, error)
GenerateOperatingSystemConfig return an OperatingSystemConfig generated against the input data
Types ¶
type CloudConfigSecret ¶
type CloudConfigSecret string
Click to show internal directories.
Click to hide internal directories.