...

Package kubeconfig

import "k8s.io/kubernetes/test/utils/kubeconfig"
Overview
Index

Overview ▾

func CreateKubeConfig

func CreateKubeConfig(clientCfg *rest.Config) *clientcmdapi.Config

CreateKubeConfig converts a rest.Config into a clientcmdapi.Config which then can be written to a file with [clientcmd.WriteToFile].