...

Package clusterinfo

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

Overview ▾

Constants

const (
    // BootstrapSignerClusterRoleName sets the name for the ClusterRole that allows access to ConfigMaps in the kube-public ns
    BootstrapSignerClusterRoleName = "kubeadm:bootstrap-signer-clusterinfo"
)

func CreateBootstrapConfigMapIfNotExists

func CreateBootstrapConfigMapIfNotExists(client clientset.Interface, file string) error

CreateBootstrapConfigMapIfNotExists creates the kube-public ConfigMap if it doesn't exist already

func CreateClusterInfoRBACRules

func CreateClusterInfoRBACRules(client clientset.Interface) error

CreateClusterInfoRBACRules creates the RBAC rules for exposing the cluster-info ConfigMap in the kube-public namespace to unauthenticated users