Skip to content

runzexia/velero-plugin-helm

Repository files navigation

Velero Helm2/3 Plugin

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.

Using the plugin

To use the plugin just add it to velero.

$ velero plugin add runzexia/velero-plugin-helm:v2

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 secret nginx-example-release-nginx
  1. Restore release
$ velero restore create --from-backup nginx-example-release-backup

Build image

$ make container

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published