...

Package uploadconfig

import "k8s.io/kubernetes/cmd/kubeadm/app/phases/uploadconfig"
Overview
Index

Overview ▾

Constants

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"
)

func UploadConfiguration

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

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