Merge remote-tracking branch 'origin/master' into nightly

This commit is contained in:
Overhang.IO 2023-06-16 10:09:31 +00:00
commit 808e21209a
3 changed files with 9 additions and 2 deletions

View File

@ -20,6 +20,11 @@ instructions, because git commits are used to generate release notes:
<!-- scriv-insert-here -->
<a id='changelog-16.0.1'></a>
## v16.0.1 (2023-06-16)
- [Bugfix] Fix loading default Kubernetes config. (by @regisb)
<a id='changelog-16.0.0'></a>
## v16.0.0 (2023-06-14)
- 💥[Feature] Upgrade to Palm. (by @regisb)

View File

@ -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

View File

@ -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 (