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

package token

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

Index

Package Files

token.go

Constants

const BootstrapUser = "token-bootstrap-client"

BootstrapUser defines bootstrap user name

func RetrieveValidatedConfigInfo Uses

func RetrieveValidatedConfigInfo(cfg *kubeadmapi.JoinConfiguration) (*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 cfg.DiscoveryTokenCACertHashes is not empty) validating the cluster CA against a set of pinned public keys

Package token imports 19 packages (graph) and is imported by 8 packages. Updated 2019-06-29. Refresh now. Tools for package owners.