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

PodSecurityPolicy doesn't exist anymore from Kubernetes 1.25 #4

Open
lzecca78 opened this issue Feb 20, 2023 · 1 comment
Open

PodSecurityPolicy doesn't exist anymore from Kubernetes 1.25 #4

lzecca78 opened this issue Feb 20, 2023 · 1 comment

Comments

@lzecca78
Copy link
Contributor

The Ceph Operator is still using podSecurityPolicy which was dropped starting from Kubernetes 1.25, this basically will break the operator tasks that sticks on :

failed to reconcile CephCluster "rook-ceph/rook-ceph". failed to reconcile cluster "rook-ceph": failed to configur
e local ceph cluster: failed to create cluster: failed to start ceph mgr: failed to enable mgr services: failed to enable service monitor: service monitor could not be enabled: failed to retriev
e servicemonitor. servicemonitors.monitoring.coreos.com "rook-ceph-mgr" is forbidden: User "system:serviceaccount:rook-ceph:rook-ceph-system" cannot get resource "servicemonitors" in API group "
monitoring.coreos.com" in the namespace "rook-ceph": RBAC: clusterrole.rbac.authorization.k8s.io "psp:rook" not found

and this won't complete the needed resources (OSDS won't be created).

@lzecca78
Copy link
Contributor Author

here an issue in the upstream project: rook/rook#10792

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