Adding logs of k8s client config (#800)

This commit is contained in:
Igor Gov
2022-02-14 06:26:57 +02:00
committed by GitHub
parent 59d21e19b7
commit 8852bac77b

View File

@@ -76,6 +76,8 @@ func NewProvider(kubeConfigPath string) (*Provider, error) {
"you can set alternative kube config file path by adding the kube-config-path field to the mizu config file, err: %w", kubeConfigPath, err) "you can set alternative kube config file path by adding the kube-config-path field to the mizu config file, err: %w", kubeConfigPath, err)
} }
logger.Log.Debugf("K8s client config, host: %s, api path: %s, user agent: %s", restClientConfig.Host, restClientConfig.APIPath, restClientConfig.UserAgent)
return &Provider{ return &Provider{
clientSet: clientSet, clientSet: clientSet,
kubernetesConfig: kubernetesConfig, kubernetesConfig: kubernetesConfig,