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