bootstrap

package
v0.0.0-...-a2ef928 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadClientCert

func LoadClientCert(kubeconfigPath string, bootstrapPath string, certDir string, nodeName types.NodeName) error

LoadClientCert requests a client cert for kubelet if the kubeconfigPath file does not exist. The kubeconfig at bootstrapPath is used to request a client certificate from the API server. On success, a kubeconfig file referencing the generated key and obtained certificate is written to kubeconfigPath. The certificate and key file are stored in certDir.

Types

This section is empty.

Jump to

Keyboard shortcuts

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