token

package
v1.32.0-alpha.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 21 Imported by: 30

Documentation

Index

Constants

View Source
const BootstrapUser = "token-bootstrap-client"

BootstrapUser defines bootstrap user name

Variables

This section is empty.

Functions

func BuildInsecureBootstrapKubeConfig added in v1.32.0

func BuildInsecureBootstrapKubeConfig(endpoint string) *clientcmdapi.Config

BuildInsecureBootstrapKubeConfig makes a kubeconfig object that connects insecurely to the API Server for bootstrapping purposes

func RetrieveValidatedConfigInfo added in v1.12.0

func RetrieveValidatedConfigInfo(dryRunClient clientset.Interface, cfg *kubeadmapi.Discovery, timeout time.Duration) (*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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL