This repository contains velero plugin which can backup helm releases deployed by tiller.
For helm2 please view v2 branch.
For helm3 please view v3 branch
This is plugin is fork from https://github.com/Dennor/velero-plugin-helm. But work with velero 1.0.x.
To use the plugin just add it to velero.
$ velero plugin add runzexia/velero-plugin-helm:v2
- Deploy example chart
nginx-chart
$ helm install --name nginx-example-release ./examples/nginx-chart
- Once it's the release is deployed and ready create a backup
$ velero backup create nginx-example-release-backup -l "OWNER=TILLER,NAME=nginx-example-release"
$ velero backup describe nginx-example-release-backup
- "Accidentally" delete the release.
$ helm delete --purge nginx-example-release
$ kubectl delete secret nginx-example-release-nginx
- Restore release
$ velero restore create --from-backup nginx-example-release-backup
$ make container