mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 11:38:15 +00:00
Return the current kubeconfig as the starting config in ClientConfigGetter.
This commit is contained in:
parent
ff9980e203
commit
2b5d689ab2
@ -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 ""
|
||||||
|
Loading…
Reference in New Issue
Block a user