diff --git a/README.md b/README.md index e589bd7..246e015 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ for that. ``` $ cd $GOPATH/src/github.com/maorfr/helm-backup $ make bootstrap build -$ SKIP_BIN_INSTALL=1 helm plugin install $GOPATH/src/github.com/maorfr/helm-backup +$ HELM_PUSH_PLUGIN_NO_INSTALL_HOOK=1 helm plugin install $GOPATH/src/github.com/maorfr/helm-backup ``` That last command will skip fetching the binary install and use the one you diff --git a/main.go b/main.go index 47cd5dc..d526ab5 100644 --- a/main.go +++ b/main.go @@ -38,7 +38,7 @@ func main() { } f := cmd.Flags() - f.StringVar(&tillerNamespace, "tiller-namespace", "kube-system", "namespace of Tiller") + f.StringVarP(&tillerNamespace, "tiller-ns","t", "kube-system", "namespace of Tiller") f.StringVarP(&label, "label", "l", "OWNER=TILLER", "label to select tiller resources by") f.StringVar(&file, "file", "", "file name to use (.tgz file). If not provided - will use .tgz") f.BoolVarP(&restore, "restore", "r", false, "restore instead of backup")