openebs / lvm-localpv

Dynamically provision Stateful Persistent Node-Local Volumes & Filesystems for Kubernetes that is integrated with a backend LVM2 data storage stack.
Apache License 2.0
245 stars 92 forks source link

PodSecurityPolicy is deprecated since k8s 1.21 #201

Closed phhutter closed 12 months ago

phhutter commented 2 years ago

Describe the problem/challenge you have The PodSecurityPolicy is deprecated since 1.21 and will be removed in Kubernetes 1.25.

src: https://kubernetes.io/docs/concepts/security/pod-security-policy/

Solution use SecurityContextConstraints instead

Abhinandan-Purkait commented 12 months ago

@phhutter Since we have already updated to latest versions. This might not be valid any more. Please reopen if you face any issue.