Commit Graph
19 Commits
Author SHA1 Message Date
Matthew Fisher 2d77db11fa change copyright to "Copyright The Helm Authors" 2018-07-30 08:29:17 -07:00
Michelle Noorali b5c0e40d6a Merge pull request #3898 from michelleN/filepath
ref(pkg/plugin): create clean path for extracting files
2018-04-17 20:17:42 -04:00
Michelle Noorali fed7e69c81 ref(pkg/plugin): create clean path for extracting plugins 2018-04-17 11:09:15 -04:00
AdamDang 9f78c33c64 Correct the returned message
Correct the returned message
2018-04-17 13:55:29 +08:00
Adam Reese fa611fe285 fix(plugins): support installing plugins by relative path (#3568)
Support installing plugins by relative path

```
helm plugins install .
```
2018-02-26 15:49:07 -08:00
Adam Reese c314e2e2f1 fix(plugins): support newer git (#3571)
Newer gits don't like checking out an empty string.

```
empty string is not a valid pathspec. please use . instead if you meant to match all paths
```
2018-02-26 15:44:32 -08:00
oilbeater 0764d95a03 defer in loop may cause resource leak
defer statement executes only when function return, and the resource still be hold during loop. Release the resource manually when not needed.
2018-02-09 10:24:47 +08:00
Johan Lyheden 4831089500 Add tests to HTTPInstaller, update plugin documentation 2017-10-20 10:28:40 +02:00
Johan Lyheden f1a08adb41 Update to comply with linter rules and gofmt 2017-10-19 13:42:11 +02:00
Johan Lyheden d43d5ab452 Add plugin installer from http archive 2017-10-19 10:28:16 +02:00
Seth Goings e7a51d5424 fix(plugins): exists --> exist 2017-05-30 09:57:20 -06:00
Sushil Kumar a6556b4982 Check existence of $HELM_HOME/plugins before installing plugin
Fixes https://github.com/kubernetes/helm/issues/2488
2017-05-25 15:04:10 -07:00
Adam Reese 1e8ebae249 fix(plugins): add error when updating modified plugins
If git has autosetuprebase enabled pulling will fail without a
descriptive error message.
2017-05-19 14:18:24 -07:00
Sushil Kumar ff42dadde4 Adds update option to plugin command (#2410)
* Adds update option to plugin command

Fixes issues/2385 - helm install silently updates the plugin, if it pre-existed

* Added tests for new methods for plugin update

* Updated docs

* Updated review comments :)

* Return error exit code when there is error
2017-05-16 11:07:15 -06:00
Sushil Kumar 24157e4aed Updated review comments :) 2017-05-06 15:59:20 -07:00
Sushil Kumar c84fb11a68 Errors out in case requested plugin exists
Partially fixes issues/2385 - helm install silently updates the plugin, if it pre-existed
2017-05-06 15:47:21 -07:00
Sushil Kumar 6344f1d8e9 Errors out in case requested plugin version does not exists
Fixes issues/2384 - helm plugin install installs a default version in case requested version is not available
2017-05-06 15:47:21 -07:00
Adam Reese e611936893 ref(plugin): cleanup unused functions 2017-04-07 00:11:23 -07:00
Adam Reese 51b8d8a6ee feat(helm): add plugin management commands
Add plugin management subcommands for installing and removing plugins
to `$HELM_HOST/plugins`.

Install accepts a vcs url or a local directory.

```
$ helm plugin install http://github.com/adamreese/helm-env
Installed plugin: env

$ helm plugin list
NAME    	VERSION	DESCRIPTION
env     	0.1.0  	Print out the helm environment.

$ helm plugin remove env
Removed plugin: env
```

closes #1977
2017-04-06 11:28:09 -07:00