discovery

package
v1.22.13 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 10 Imported by: 33

Documentation

Index

Constants

View Source
const TokenUser = "tls-bootstrap-token-user"

TokenUser defines token user

Variables

This section is empty.

Functions

func DiscoverValidatedKubeConfig added in v1.12.0

func DiscoverValidatedKubeConfig(cfg *kubeadmapi.JoinConfiguration) (*clientcmdapi.Config, error)

DiscoverValidatedKubeConfig returns a validated Config object that specifies where the cluster is and the CA cert to trust

func For

For returns a kubeconfig object that can be used for doing the TLS Bootstrap with the right credentials Also, before returning anything, it makes sure it can trust the API Server

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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