velero-plugin-helm

command module
v0.0.0-...-5b2d78d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL