uploadconfig

package
v1.25.4 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: Apache-2.0 Imports: 11 Imported by: 55

Documentation

Index

Constants

View Source
const (
	// NodesKubeadmConfigClusterRoleName sets the name for the ClusterRole that allows
	// the bootstrap tokens to access the kubeadm-config ConfigMap during the node bootstrap/discovery
	// or during upgrade nodes
	NodesKubeadmConfigClusterRoleName = "kubeadm:nodes-kubeadm-config"
)

Variables

This section is empty.

Functions

func MutateImageRepository added in v1.22.17

func MutateImageRepository(cfg *kubeadmapi.InitConfiguration, client clientset.Interface) error

MutateImageRepository mutates the imageRepository field in the ClusterConfiguration to 'registry.k8s.io' in case it was the legacy default 'k8s.gcr.io' TODO: Remove this in 1.26 https://github.com/kubernetes/kubeadm/issues/2671

func UploadConfiguration

func UploadConfiguration(cfg *kubeadmapi.InitConfiguration, client clientset.Interface) error

UploadConfiguration saves the InitConfiguration used for later reference (when upgrading for instance)

Types

This section is empty.

Jump to

Keyboard shortcuts

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