-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Resource status restore doesn't work for resources which has been exist, even though existingResourcePolicy is set to update #7994
Comments
Status restore is not controlled by the existingResourcePolicy. |
An open issue requesting the doc for |
|
The existingResourcePolicy doesn't cover restore of status, if this is required in your case, just share more details of your scenarios, so that we can prioritize the requirement. |
We've modified the code here to rebuild a binary package that bypasses both of these issues
|
So perhaps call this Or would this fit under existing wdyt @shubham-pampattiwar |
@kaovilai I believe more details around the scenarios why we need this would help. The initial thought of ExistingResourcePolicy was around object's metadata and spec I believe. Also, IMO status of CR is something that is updated/patched by its controller. |
I have two clusters A and B, the first time I restore the CRD of cluster A to cluster B, and then the controller runs in cluster B for a period of time, and then restore the CRD to cluster A, the status needs to be restored. @Lyndon-Li @shubham-pampattiwar |
@nfyxhan |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days. If a Velero team member has requested log or more information, please provide the output of the shared commands. |
This issue was closed because it has been stalled for 14 days with no activity. |
What steps did you take and what happened:
a resource is exist in the cluster,edit its metadata and status, and then restore it, only metadata can be update, but status not
What did you expect to happen:
both of the metadata and status should be update
Vote on this issue!
This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.
The text was updated successfully, but these errors were encountered: