Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maorfr/helm-restore
Helm plugin to restore last deployed release to original state
https://github.com/maorfr/helm-restore
disaster-recovery golang helm helm-plugin kubernetes restore
Last synced: about 2 months ago
JSON representation
Helm plugin to restore last deployed release to original state
- Host: GitHub
- URL: https://github.com/maorfr/helm-restore
- Owner: maorfr
- License: other
- Created: 2018-10-25T19:51:13.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-30T09:09:27.000Z (about 6 years ago)
- Last Synced: 2024-06-19T23:27:25.280Z (7 months ago)
- Topics: disaster-recovery, golang, helm, helm-plugin, kubernetes, restore
- Language: Go
- Homepage:
- Size: 22.5 KB
- Stars: 8
- Watchers: 3
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Helm Restore Plugin
This is a Helm plugin which restores the last deployed release to its original state
## Usage
restore last deployed release to original state
```
$ helm restore [flags] RELEASE_NAME
```### Flags:
```
-l, --label string label to select tiller resources by (default "OWNER=TILLER,STATUS=DEPLOYED")
--tiller-namespace string namespace of Tiller (default "kube-system")
```## Install
```
$ helm plugin install https://github.com/maorfr/helm-restore
```The above will fetch the latest binary release of `helm restore` and install it.
### Developer (From Source) Install
If you would like to handle the build yourself, instead of fetching a binary,
this is how recommend doing it.First, set up your environment:
- You need to have [Go](http://golang.org) installed. Make sure to set `$GOPATH`
- If you don't have [Dep](https://github.com/golang/dep) installed, this will install it into
`$GOPATH/bin` for you.Clone this repo into your `$GOPATH`. You can use `go get -d github.com/maorfr/helm-restore`
for that.```
$ cd $GOPATH/src/github.com/maorfr/helm-restore
$ make bootstrap build
$ SKIP_BIN_INSTALL=1 helm plugin install $GOPATH/src/github.com/maorfr/helm-restore
```That last command will skip fetching the binary install and use the one you
built.