vapor-ware / kubetest

Kubernetes integration testing in Python via pytest
https://kubetest.readthedocs.io/en/latest/
GNU General Public License v3.0
207 stars 56 forks source link

Example test from docs broken #224

Open CAJan93 opened 1 year ago

CAJan93 commented 1 year ago

Using kubetest 0.9.5 and py k8s lib 26.1.0. Trying to run the example test from the docs.

I am getting

  File "virtualEnv/lib/python3.10/site-packages/kubetest/objects/clusterrolebinding.py", line 12, in <module>
    class ClusterRoleBinding(ApiObject):
  File "virtualEnv/lib/python3.10/site-packages/kubetest/objects/clusterrolebinding.py", line 30, in ClusterRoleBinding
    "rbac.authorization.k8s.io/v1alpha1": client.RbacAuthorizationV1alpha1Api,
AttributeError: module 'kubernetes.client' has no attribute 'RbacAuthorizationV1alpha1Api'. Did you mean: 'RbacAuthorizationV1Api'?

Are you still working on this project? This should be easy to fix.