We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
PodSecurityPolicy is deprecated and will be removed in v1.25+
Compatibility with v1.25+
Deprecation warning...
See: https://kubernetes.io/docs/reference/using-api/deprecation-guide/#psp-v125
:~/.kube$ kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml Warning: policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+ podsecuritypolicy.policy/psp.flannel.unprivileged configured clusterrole.rbac.authorization.k8s.io/flannel unchanged clusterrolebinding.rbac.authorization.k8s.io/flannel unchanged serviceaccount/flannel unchanged configmap/kube-flannel-cfg unchanged daemonset.apps/kube-flannel-ds configured
The text was updated successfully, but these errors were encountered:
Will #1559 fix it?
Sorry, something went wrong.
Starting from Kubernetes 1.21, PodSecurityPolicy has been deprecated and will disappear in 1.25. It should be replaced by the Pod Security admission controller which is in beta starting in 1.23: https://kubernetes.io/blog/2021/12/09/pod-security-admission-beta/
So I think the way to solve this would be to add a second manifest that uses Pod Security instead of PodSecurityPolicy.
#1559 will not solve the issue since the PodSecurityPolicy is not graduating from beta to stable but will be removed completely.
Successfully merging a pull request may close this issue.
PodSecurityPolicy is deprecated and will be removed in v1.25+
Expected Behavior
Compatibility with v1.25+
Current Behavior
Deprecation warning...
Possible Solution
See: https://kubernetes.io/docs/reference/using-api/deprecation-guide/#psp-v125
Steps to Reproduce (for bugs)
Your Environment
The text was updated successfully, but these errors were encountered: