AllenZMC
6485fec309
fix word `constrint` to `constraint`
...
Signed-off-by: czm <zhongming.chang@daocloud.io>
5 years ago
Matthew Fisher
2d77db11fa
change copyright to "Copyright The Helm Authors"
6 years ago
Michelle Noorali
b5c0e40d6a
Merge pull request #3898 from michelleN/filepath
...
ref(pkg/plugin): create clean path for extracting files
7 years ago
Michelle Noorali
fed7e69c81
ref(pkg/plugin): create clean path for extracting plugins
7 years ago
AdamDang
9f78c33c64
Correct the returned message
...
Correct the returned message
7 years ago
Adam Reese
fa611fe285
fix(plugins): support installing plugins by relative path ( #3568 )
...
Support installing plugins by relative path
```
helm plugins install .
```
7 years ago
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
```
7 years ago
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.
7 years ago
Johan Lyheden
4831089500
Add tests to HTTPInstaller, update plugin documentation
7 years ago
Johan Lyheden
f1a08adb41
Update to comply with linter rules and gofmt
7 years ago
Johan Lyheden
d43d5ab452
Add plugin installer from http archive
7 years ago
Adam Reese
a29e610938
fix(helm): fix flag parsing once and for all
7 years ago
Adam Reese
8272360681
Merge pull request #2476 from adamreese/fix/flag-envars
...
fix(helm): fix race conditions in flag parsing
8 years ago
Seth Goings
e7a51d5424
fix(plugins): exists --> exist
8 years ago
Adam Reese
d797acbd7b
fix(helm): fix race conditions in flag parsing
...
* fix a number of issues with flag parsing
* add support for `HELM_DEBUG`
* lazy expand flag default envars
8 years ago
Sushil Kumar
a6556b4982
Check existence of $HELM_HOME/plugins before installing plugin
...
Fixes https://github.com/kubernetes/helm/issues/2488
8 years ago
Adam Reese
1e8ebae249
fix(plugins): add error when updating modified plugins
...
If git has autosetuprebase enabled pulling will fail without a
descriptive error message.
8 years ago
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
8 years ago
Sushil Kumar
24157e4aed
Updated review comments :)
8 years ago
Sushil Kumar
c84fb11a68
Errors out in case requested plugin exists
...
Partially fixes issues/2385 - helm install silently updates the plugin, if it pre-existed
8 years ago
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
8 years ago
Adam Reese
50eee83646
ref(helm): use new debug method to standardize debug output
8 years ago
Gergo Huszty
b4ca198cc6
Pluggable downloaders. Closes #2093 , #2094 .
...
It is now possible to create plugins with chart download capabilities for custom, non-http protocols.
Furthermore it is possible to reuse helm packages to implement alternative clients with these custom downloader functions.
8 years ago
Adam Reese
e611936893
ref(plugin): cleanup unused functions
8 years ago
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
8 years ago
libesz
41f7c97a48
Fixing plugin test
...
In the TestLoadDir test case, currently reflect.DeepEqual is expected to fail by error. Expected metadata is different than in the fixture yaml. Also, the type of the struct is mismatching in DeepEqual call (struct vs pointer to struct).
8 years ago
Matt Butcher
fad755e7ae
feat(helm): add plugin system backend
...
This adds a backend for a plugin system.
Closes #1572
8 years ago