From a5cc2f941fbaad78971b787ad07f5f6b04caa171 Mon Sep 17 00:00:00 2001 From: JD Date: Thu, 21 Apr 2022 12:49:09 -0700 Subject: [PATCH] bugfixing --- opta/core/kubernetes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opta/core/kubernetes.py b/opta/core/kubernetes.py index 77b5fd36d..4f4b28142 100644 --- a/opta/core/kubernetes.py +++ b/opta/core/kubernetes.py @@ -121,7 +121,7 @@ def load_opta_kube_config_to_default(layer: "Layer") -> None: constants.DEFAULT_KUBECONFIG.split(ENV_KUBECONFIG_PATH_SEPARATOR)[0] ) if not exists(default_kube_config_filename): - with open(expanduser(default_kube_config_filename), "w") as f: + with open(default_kube_config_filename, "w") as f: yaml.dump(opta_config, f) return default_kube_config = yaml.load(open(default_kube_config_filename))