This repository contains velero plugin which can backup helm releases deployed by tiller.
To use the plugin just add it to velero.
$ velero plugin add dennor/velero-plugin-helm:latest
- 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 crd examplecrds.nginx-example-release.io
$ kubectl delete secret nginx-example-release-nginx
- Restore release
$ velero restore create --from-backup nginx-example-release-backup
$ make clean
$ make container IMAGE=dennor/velero-plugin-helm:latest