mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-24 11:29:09 +00:00
Return the current kubeconfig as the starting config in ClientConfigGetter.
This commit is contained in:
@@ -85,7 +85,7 @@ func (g *ClientConfigGetter) GetLoadingPrecedence() []string {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
func (g *ClientConfigGetter) GetStartingConfig() (*clientcmdapi.Config, error) {
|
func (g *ClientConfigGetter) GetStartingConfig() (*clientcmdapi.Config, error) {
|
||||||
return nil, nil
|
return g.kubeconfigGetter()
|
||||||
}
|
}
|
||||||
func (g *ClientConfigGetter) GetDefaultFilename() string {
|
func (g *ClientConfigGetter) GetDefaultFilename() string {
|
||||||
return ""
|
return ""
|
||||||
|
Reference in New Issue
Block a user