Don't throw an error when pod security policies aren't supported on the k8s cluster
Opened this issue · 0 comments
tas50 commented
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.