diff --git a/CHANGELOG.md b/CHANGELOG.md index 751d448..589513a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,11 @@ instructions, because git commits are used to generate release notes: + +## v16.0.1 (2023-06-16) + +- [Bugfix] Fix loading default Kubernetes config. (by @regisb) + ## v16.0.0 (2023-06-14) - 💥[Feature] Upgrade to Palm. (by @regisb) diff --git a/tutor/__about__.py b/tutor/__about__.py index 91673d5..4df3f58 100644 --- a/tutor/__about__.py +++ b/tutor/__about__.py @@ -2,7 +2,7 @@ import os # Increment this version number to trigger a new release. See # docs/tutor.html#versioning for information on the versioning scheme. -__version__ = "16.0.0" +__version__ = "16.0.1" # The version suffix will be appended to the actual version, separated by a # dash. Use this suffix to differentiate between the actual released version and diff --git a/tutor/commands/k8s.py b/tutor/commands/k8s.py index ce8c0c4..b761fd0 100644 --- a/tutor/commands/k8s.py +++ b/tutor/commands/k8s.py @@ -27,7 +27,9 @@ class K8sClients: # pylint: disable=import-outside-toplevel from kubernetes import client, config - if os.path.exists(config.kube_config.KUBE_CONFIG_DEFAULT_LOCATION): + if os.path.exists( + os.path.expanduser(config.kube_config.KUBE_CONFIG_DEFAULT_LOCATION) + ): # found the kubeconfig file, let's load it! config.load_kube_config() elif (