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
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.
Click to show internal directories.
Click to hide internal directories.