kube-linter icon indicating copy to clipboard operation
kube-linter copied to clipboard

Add check to ensure that a pod has a pod security policy specified

Open viswajithiii opened this issue 3 years ago • 2 comments

(Also validate that the PSP and security context are compatible. And in another check, perhaps validate that the PSP is as tight as possible based on the security context.)

viswajithiii avatar Oct 30 '20 04:10 viswajithiii

is this a dead policy, since PSP are now deprecated?

  • https://kubernetes.io/blog/2021/04/06/podsecuritypolicy-deprecation-past-present-and-future/

garethahealy avatar Aug 20 '21 13:08 garethahealy

Yeah, pretty much. We are not planning to do it unless a lot of people explicitly ask for it (which doesn't seem to be happening).

viswajithiii avatar Aug 20 '21 15:08 viswajithiii