Checked from the OLM side, if we are reporting proper status. It will get displayed. And also from the CLI side, the CR is getting deleted without moving to terminating state. The CR is not reporting the status change properly. Once the CR is deleted, it needs to move to terminating state from the deployed state. Currently, it is directly getting deleted.
(In reply to Debjyoti Pandit from comment #3) > Checked from the OLM side, if we are reporting proper status. It will get > displayed. > And also from the CLI side, the CR is getting deleted without moving to > terminating state. > The CR is not reporting the status change properly. Once the CR is deleted, > it needs to move to terminating state from the deployed state. > Currently, it is directly getting deleted. I am unable to parse the requirement/problem here. A deleted CR will linger around till all finalizers are cleaned up at which point the CR is deleted from the API server. Which field/status is expected to go to Terminating etc. for this to work?
(In reply to Shyamsundar from comment #5) > (In reply to Debjyoti Pandit from comment #3) > > Checked from the OLM side, if we are reporting proper status. It will get > > displayed. > > And also from the CLI side, the CR is getting deleted without moving to > > terminating state. > > The CR is not reporting the status change properly. Once the CR is deleted, > > it needs to move to terminating state from the deployed state. > > Currently, it is directly getting deleted. > > I am unable to parse the requirement/problem here. A deleted CR will linger > around till all finalizers are cleaned up at which point the CR is deleted > from the API server. Which field/status is expected to go to Terminating > etc. for this to work? The issue is that when the deleted CR lingers during the clean-up process, the status stays in the deployed state. Instead, it should move to terminating state or any other signifying that we have deleted already the CR.