kubernetesk8s.io/kubernetes/pkg/kubelet/certificate/bootstrap Index | Files

package bootstrap

import "k8s.io/kubernetes/pkg/kubelet/certificate/bootstrap"

Index

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.

Source Files

bootstrap.go

Version
v1.11.0
Published
Jun 27, 2018
Platform
js/wasm
Imports
15 packages
Last checked
35 seconds ago

Tools for package owners.