package clusterinfo
import "k8s.io/kubernetes/cmd/kubeadm/app/phases/bootstraptoken/clusterinfo"
Index ¶
- Constants
- func CreateBootstrapConfigMapIfNotExists(client clientset.Interface, kubeconfig *clientcmdapi.Config) error
- func CreateClusterInfoRBACRules(client clientset.Interface) error
Constants ¶
const ( // BootstrapSignerClusterRoleName sets the name for the ClusterRole that allows access to ConfigMaps in the kube-public ns BootstrapSignerClusterRoleName = "kubeadm:bootstrap-signer-clusterinfo" )
Functions ¶
func CreateBootstrapConfigMapIfNotExists ¶
func CreateBootstrapConfigMapIfNotExists(client clientset.Interface, kubeconfig *clientcmdapi.Config) error
CreateBootstrapConfigMapIfNotExists creates the kube-public ConfigMap if it doesn't exist already
func CreateClusterInfoRBACRules ¶
CreateClusterInfoRBACRules creates the RBAC rules for exposing the cluster-info ConfigMap in the kube-public namespace to unauthenticated users
Source Files ¶
clusterinfo.go
- Version
- v1.33.0 (latest)
- Published
- Apr 23, 2025
- Platform
- linux/amd64
- Imports
- 12 packages
- Last checked
- 3 hours ago –
Tools for package owners.