Documentation ¶
Overview ¶
Package kubernetesversions implements kubernetes version functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCIArtifactsInjectedTemplateForDebian ¶
func GenerateCIArtifactsInjectedTemplateForDebian(input GenerateCIArtifactsInjectedTemplateForDebianInput) (string, error)
GenerateCIArtifactsInjectedTemplateForDebian takes a source clusterctl template and a platform-specific Kustomize SMP patch and injects a bash script to download and install the debian packages for the given Kubernetes version, returning the location of the outputted file.
Types ¶
type GenerateCIArtifactsInjectedTemplateForDebianInput ¶
type GenerateCIArtifactsInjectedTemplateForDebianInput struct { // ArtifactsDirectory is where conformance suite output will go. Defaults to _artifacts ArtifactsDirectory string // SourceTemplate is an input YAML clusterctl template which is to have // the CI artifact script injection SourceTemplate []byte // PlatformKustomization is an SMP (strategic-merge-style) patch for adding // platform specific kustomizations required for use with CI, such as // referencing a specific image PlatformKustomization []byte // KubeadmConfigTemplateName is the name of the KubeadmConfigTemplate resource // that needs to have the Debian install script injected. Defaults to "${CLUSTER_NAME}-md-0". KubeadmConfigTemplateName string // KubeadmControlPlaneName is the name of the KubeadmControlPlane resource // that needs to have the Debian install script injected. Defaults to "${CLUSTER_NAME}-control-plane". KubeadmControlPlaneName string // KubeadmConfigName is the name of a KubeadmConfig that needs kustomizing. To be used in conjunction with MachinePools. Optional. KubeadmConfigName string }
Click to show internal directories.
Click to hide internal directories.