Skip to content

yaml.load warning while running the config.load_kube_config() #787

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
prafull01 opened this issue Mar 19, 2019 · 1 comment
Closed

yaml.load warning while running the config.load_kube_config() #787

prafull01 opened this issue Mar 19, 2019 · 1 comment

Comments

@prafull01
Copy link

I have been getting following error whenever I am running config.load_kube_config()

/usr/lib/python3.6/site-packages/kubernetes/config/kube_config.py:480: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
config_dict=yaml.load(f),
/usr/lib/python3.6/site-packages/kubernetes/config/kube_config.py:480: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
config_dict=yaml.load(f),`

@micw523
Copy link
Contributor

micw523 commented Mar 19, 2019

I believe that this has been fixed in the current master branch via
#719 and
kubernetes-client/python-base#111

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants