Skip to content

Commit

Permalink
Remove reference to deprecated kubeconfig_path in error
Browse files Browse the repository at this point in the history
  • Loading branch information
webvictim authored and klizhentas committed Jul 25, 2019
1 parent ba1fcf5 commit 2cc77e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kube/proxy/forwarder.go
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,7 @@ func getKubeCreds(kubeconfigPath string) (*kubeCreds, error) {
if err != nil {
return nil, trace.BadParameter(`auth server assumed that it is
running in a kubernetes cluster, but %v mounted in pods could not be read: %v,
set kubeconfig_path if auth server is running outside of the cluster`, teleport.KubeCAPath, err)
set kubeconfig_file if auth server is running outside of the cluster`, teleport.KubeCAPath, err)
}

cfg, err := kubeutils.GetKubeConfig(os.Getenv(teleport.EnvKubeConfig))
Expand Down

0 comments on commit 2cc77e1

Please sign in to comment.