Skip to content

Conversation

@chethanv28
Copy link
Collaborator

What this PR does / why we need it:

We hit an issue with Supervisor PVC not getting deleted after namespace deletion due to cns pvc protection finalizer present on the PVC. The finalizer is not getting removed from the cnsnodevmattachment_controller's reconciler method. And the finalizer removal is missed due to cnsnodevmattachment CR itself getting deleted. This issue is not occurring consistently, however the PVC in Supervisor never gets deleted. For such cases, we need to remove the PVC finalizer before returning a success from reconcile method.

Testing done:
TBA

Special notes for your reviewer:

Release note:

Remove CNS PVC protection finalizer in cnsnodevmattachment reconciler when the CR itself is not found

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: chethanv28

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Dec 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants