Skip to content
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

fix kubernetes version #766

Merged
merged 3 commits into from Feb 14, 2022

Conversation

ramonpetgrave64
Copy link
Contributor

@ramonpetgrave64 ramonpetgrave64 commented Feb 14, 2022

This fixes maximum of kubernetes to 21.7.0, since NetworkingV1beta1Api seems to not be present in the latest version 22.6.0. At the moment, our CI builds are failing due to the below error, and possibly newer installations are failing, too.

cartography/intel/kubernetes/util.py:8: in <module>
    from kubernetes.client import NetworkingV1beta1Api
E   ImportError: cannot import name 'NetworkingV1beta1Api' from 'kubernetes.client' (/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/kubernetes/client/__init__.py)

We will have to investigate using a new client that is not "beta", if it exists in the newest version of the library.

@ramonpetgrave64 ramonpetgrave64 merged commit c1c84d5 into master Feb 14, 2022
@ramonpetgrave64 ramonpetgrave64 deleted the ramonpetgrave64-fix-kubernetes-version branch February 14, 2022 23:15
@ramonpetgrave64 ramonpetgrave64 mentioned this pull request Feb 14, 2022
@ramonpetgrave64 ramonpetgrave64 changed the title Ramonpetgrave64 fix kubernetes version fix kubernetes version Feb 14, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants