-
Notifications
You must be signed in to change notification settings - Fork 344
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
Add a concrete example on how to restore a cert-manager installation #1353
Add a concrete example on how to restore a cert-manager installation #1353
Conversation
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
1039157
to
29b7ea1
Compare
✅ Deploy Preview for cert-manager-website ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @inteon
It's interesting to see some examples of how to use the velero CLI.
I was surprised that the instructions recommend restoring the cert-manager app in the same phase as the custom resources.
My expectation was that the cert-manager app would be excluded from the backup, because it can so easily be re-installed from the Helm chart or manifests.
Or else that cert-manager (and other platform apps) would be backed up and restored separately from the applications that run on the platform.
But I have no idea how people actually use Velero.
Perhaps this will trigger some reactions from our users, who can refine the instructions with their real world experiences.
I found a couple of related issues:
- In Docs for controller developers vmware-tanzu/velero#6799, @guettli requests documentation which will help us answer some of these questions.
- In restore with object metadata.ownerreference and metadata.finalizer vmware-tanzu/velero#4707, @polym requests that Velero allow backing up and restoring owner refs, which might help with the Ingress > Certificate ordering problems.
/lgtm
/hold because I think we should remove the word "recommend"
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: wallrj 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 |
/unhold |
The
/docs/devops-tips/backup
page was already describing how to backup using Velero.However, there was no concrete example that shows how to do this.
This PR adds that example (including a workaround to properly restore the owner reference on a Certificate created by ingress-shim).
You can use Velero locally using these commands (see https://velero.io/docs/v1.12/contributions/minio/):