| ... | ... |
@@ -47,7 +47,7 @@ func NewOpenShiftClientConfigLoadingRules() *clientcmd.ClientConfigLoadingRules |
| 47 | 47 |
|
| 48 | 48 |
func NewPathOptions(cmd *cobra.Command) *kubecmdconfig.PathOptions {
|
| 49 | 49 |
return &kubecmdconfig.PathOptions{
|
| 50 |
- GlobalFile: path.Join(os.Getenv("HOME"), OpenShiftConfigHomeDirFileName),
|
|
| 50 |
+ GlobalFile: RecommendedHomeFile, |
|
| 51 | 51 |
|
| 52 | 52 |
EnvVar: OpenShiftConfigPathEnvVar, |
| 53 | 53 |
ExplicitFileFlag: OpenShiftConfigFlagName, |