-
Notifications
You must be signed in to change notification settings - Fork 199
Enhancement - Optimise CNSFileAccessConfig reconciliation workflow #3647
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
base: master
Are you sure you want to change the base?
Enhancement - Optimise CNSFileAccessConfig reconciliation workflow #3647
Conversation
Skipping CI for Draft Pull Request. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kolluria 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 |
104bc28
to
6e47686
Compare
/ok-to-test |
/assign @kolluria |
SUCCESS --- Jenkins Build #435 |
SUCCESS --- Jenkins Build #459 |
Updated reconciler to use status subresource endpoint to update status Updated reconciler to ignore updates without any generation change
6e47686
to
862388b
Compare
What this PR does / why we need it
Updates CNSFileAccessConfig reconciler to use status subresource endpoint to update status to avoid unintentional and unnecessary generation increments.
Updates the reconciler to ignore events that do not have a change in the generation number.
Testing done
In case of multiple reconciliations of an instance
Created some dummy CRs and verified that the generation is unchanged in multiple reconciles
List CR output
Delete workflow
Provision and attach RWX PVC in a guest cluster
Observations:
The behaviour of the reconciler is as expected in all the cases and the generation of the CRs remained at
1
.Special notes for your reviewer:
Release note: