velero
velero copied to clipboard
existing-resource-policy doesn't work
What steps did you take and what happened:
when creating a restore using --existing-resource-policy update
. the restore doesn't update existing resources.
getting this in the restore description:
could not restore, Secret "xxx" already exists. Warning: the in-cluster version is different than the backed-up version.
when checking restore details i can see that this configuration is not set: Existing Resource Policy: <none>
What did you expect to happen: update existing resources. The following information will help us better understand what's going on:
If you are using velero v1.7.0+:
Please use velero debug --backup <backupname> --restore <restorename>
to generate the support bundle, and attach to this issue, more options please refer to velero debug --help
If you are using earlier versions:
Please provide the output of the following commands (Pasting long output into a GitHub gist or other pastebin is fine.)
-
kubectl logs deployment/velero -n velero
-
velero backup describe <backupname>
orkubectl get backup/<backupname> -n velero -o yaml
-
velero backup logs <backupname>
-
velero restore describe <restorename>
orkubectl get restore/<restorename> -n velero -o yaml
-
velero restore logs <restorename>
Anything else you would like to add:
Environment:
-
Velero version (use
velero version
): v.13.1 -
Velero features (use
velero client config get features
): features: <NOT SET> -
Kubernetes version (use
kubectl version
): -
Client Version: v1.29.2 Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3 Server Version: v1.29.7
-
Kubernetes installer & version:
-
Cloud provider or hardware configuration: GCP
-
OS (e.g. from
/etc/os-release
): mac os
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.
- :+1: for "I would like to see this bug fixed as soon as possible"
- :-1: for "There are more important bugs to focus on right now"