package token

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

Index

Constants

const BootstrapUser = "token-bootstrap-client"

Functions

func RetrieveValidatedClusterInfo

func RetrieveValidatedClusterInfo(discoveryToken string, tokenAPIServers []string) (*clientcmdapi.Cluster, error)

RetrieveValidatedClusterInfo 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

Source Files

token.go

Version
v1.7.9-beta.0
Published
Oct 5, 2017
Platform
js/wasm
Imports
12 packages
Last checked
1 minute ago

Tools for package owners.