This commit is contained in:
@@ -1027,7 +1027,7 @@ impl K8sAnywhereConfig {
|
||||
}
|
||||
|
||||
Self {
|
||||
kubeconfig: get_kube_config_path().map(|s| s.to_string_lossy().into_owned()),
|
||||
kubeconfig: get_kube_config_path().map(|s| s.to_string_lossy().into_owned()),
|
||||
use_system_kubeconfig: std::env::var("HARMONY_USE_SYSTEM_KUBECONFIG")
|
||||
.map_or_else(|_| false, |v| v.parse().ok().unwrap_or(false)),
|
||||
autoinstall: std::env::var("HARMONY_AUTOINSTALL")
|
||||
|
||||
Reference in New Issue
Block a user