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

Example test from docs broken #224

Open
CAJan93 opened this issue Apr 3, 2023 · 0 comments
Open

Example test from docs broken #224

CAJan93 opened this issue Apr 3, 2023 · 0 comments

Comments

@CAJan93
Copy link

CAJan93 commented Apr 3, 2023

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.

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

1 participant