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

Don't throw an error when pod security policies aren't supported on the k8s cluster #4313

Open
tas50 opened this issue Jul 5, 2024 · 0 comments

Comments

@tas50
Copy link
Member

tas50 commented Jul 5, 2024

Describe the bug
PSPs are old. We support them, but any modern cluster wont. Right now if you connect to a modern cluster and run k8s{*} you get back an error when you get to PSPs:

  podSecurityPolicies: could not find api kind "podsecuritypolicies"

This shouldn't be an error in red in the shell. We should just move on with our life and log it at debug level since anything recent won't have it.

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