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.10.10
- Published
- Nov 8, 2018
- Platform
- js/wasm
- Imports
- 14 packages
- Last checked
- 5 minutes ago –
Tools for package owners.