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
Assignees
Labels
bug Something isn't working not-stale
Milestone

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
Collaborator

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

@dark0dave dark0dave self-assigned this Oct 25, 2024
@dark0dave dark0dave added bug Something isn't working not-stale labels Oct 25, 2024
@dark0dave dark0dave added this to the 0.8.0 milestone Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working not-stale
Projects
None yet
Development

No branches or pull requests

2 participants