ceph / ceph-csi-operator

Kubernetes operator for managing the CephCSI plugins
Apache License 2.0
14 stars 14 forks source link

Need info on how to handle existing CSIDriver kubernetes resources #81

Open leelavg opened 3 months ago

leelavg commented 3 months ago

I see operator backing off from reconciling CSIDriver based on some heuristics, could those scenarios be mentioned and what is the expectation from code base which want to upgrade to using csi-operator.

nb-ohad commented 3 months ago

In order to make sure ceph-csi-operator takes ownership of an existing CSIDriver, you need to add an ceph.csi.io/ownerref annotation with the namespace name of the driver.csi.ceph.io resource (serialized as json) that will own it

Madhu-1 commented 3 months ago

@subhamkrai you can do this one as well, where you need to set the annotation instead of deleting the csidriver object

subhamkrai commented 3 months ago

@subhamkrai you can do this one as well, where you need to set the annotation instead of deleting the csidriver object

added

leelavg commented 2 months ago

Pls note correct label key is csi.ceph.io/ownerref

subhamkrai commented 2 months ago

Pls note correct label key is csi.ceph.io/ownerref

I'm setting this value as only