Skip to content

Dennor/velero-plugin-helm

Repository files navigation

Velero Helm Plugin

This repository contains velero plugin which can backup helm releases deployed by tiller.

Using the plugin

To use the plugin just add it to velero.

$ velero plugin add dennor/velero-plugin-helm:latest

Example of backup and restore

  1. Deploy example chart nginx-chart
$ helm install --name nginx-example-release ./examples/nginx-chart
  1. 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
  1. "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
  1. Restore release
$ velero restore create --from-backup nginx-example-release-backup

Build image

$ make clean
$ make container IMAGE=dennor/velero-plugin-helm:latest

About

Helm plugin for velero

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published