kubernetes: k8s.io/kubernetes/cmd/kubeadm/app/discovery/token Index | Files

package token

import "k8s.io/kubernetes/cmd/kubeadm/app/discovery/token"


Package Files



const BootstrapUser = "token-bootstrap-client"

BootstrapUser defines bootstrap user name

func RetrieveValidatedConfigInfo Uses

func RetrieveValidatedConfigInfo(cfg *kubeadmapi.Discovery) (*clientcmdapi.Config, error)

RetrieveValidatedConfigInfo connects to the API Server and tries to fetch the cluster-info ConfigMap It then makes sure it can trust the API Server by looking at the JWS-signed tokens and (if CACertHashes is not empty) validating the cluster CA against a set of pinned public keys

Package token imports 20 packages (graph) and is imported by 8 packages. Updated 2020-02-17. Refresh now. Tools for package owners.