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

kubent 0.7.2 still calling deprecated podsecuritypolicies API #620

Open
soontobemil opened this issue Jul 24, 2024 · 1 comment
Open

kubent 0.7.2 still calling deprecated podsecuritypolicies API #620

soontobemil opened this issue Jul 24, 2024 · 1 comment

Comments

@soontobemil
Copy link

I am using kubent version 0.7.2, and it is still making calls to the deprecated podsecuritypolicies API.

Environment:

  • Kubernetes version: 1.28.10-gke.1075001
  • kubent version: 0.7.2

Logs:
Deprecated APIs called
API User agent Total calls (last 30 days) Last called
/apis/policy/v1beta1/podsecuritypolicies kubent (0.7.2/25eb8a3757d1db39a04e94bb97a3f099fb5c9fb6) 2 July 23, 2024 at 4:54:00 PM UTC-7

Steps to Reproduce:

  • Run kubent on the specified Kubernetes cluster.
  • Observe the deprecated API calls in the logs.

Please advise on how to avoid these deprecated API calls or provide a patch to resolve this issue.

@dark0dave
Copy link
Contributor

Yeah this is cased by the old library plus us checking for old deprecations, I am working on a solution for this

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