Move annotation requesting init-permission from storageclass to PV
The following discussion from !1 (merged) should be addressed:
-
@alossent started a discussion: This is a problem: for any event on any PV (not just new cephfs PVs!) a round-trip is done with the API to get the StorageClass details. This will not scale.
I think the best solution would be to do like for backups: forget about the storageclass and instead look for an annotation on the PV. This means (like for backups) that we need a mechanism to set the annotation on new cephfs PVs automatically; this could be done with OPA rules.
(for follow-up issue)