cert-manager / website

Source code for the cert-manager.io website, including project documentation
https://cert-manager.io
Apache License 2.0
54 stars 337 forks source link

Add a concrete example on how to restore a cert-manager installation #1353

Closed inteon closed 11 months ago

inteon commented 11 months ago

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/):

kubectl apply --server-side -f ./examples/minio/00-minio-deployment.yaml

./velero install \
    --provider aws \
    --plugins velero/velero-plugin-for-aws:v1.2.1 \
    --bucket velero \
    --secret-file ./credentials-velero \
    --use-volume-snapshots=false \
    --backup-location-config region=minio,s3ForcePathStyle="true",s3Url=http://minio.velero.svc:9000
netlify[bot] commented 11 months ago

Deploy Preview for cert-manager-website ready!

Name Link
Latest commit 6e597d42fc246a312fad0e8b09578ae5ab541bd4
Latest deploy log https://app.netlify.com/sites/cert-manager-website/deploys/6569b2137bed0800084c7c81
Deploy Preview https://deploy-preview-1353--cert-manager-website.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

jetstack-bot commented 11 months ago

[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: - ~~[OWNERS](https://github.com/cert-manager/website/blob/master/OWNERS)~~ [wallrj] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
inteon commented 11 months ago

/unhold