uploadconfig

package
v1.23.17-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: Apache-2.0 Imports: 11 Imported by: 89

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' 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