Adam Reese
f791421fab
feat(Makefile): add formatting target
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Josh Dolitsky
16b59bfe5b
Helm 3: fix "latest" tag bug ( #5279 )
...
* add extra ref parsing, validation
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
* add fix for missing locator
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
* add repo and tag fields for clarity
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
* small refector
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
6 years ago
Adam Reese
122ae70dc5
Merge pull request #5280 from adamreese/v3/appveyor-cache
...
ref(ci): persist dep cache
6 years ago
Sven van Heugten
480a83206f
feat(helm): add --plugins flag to 'helm init' ( #5109 )
...
Allow specifying a set of plugins in a yaml file that will be installed during
the `helm init` process.
Closes #5079 .
Signed-off-by: Sven van Heugten <svenvanheugten@home.nl>
6 years ago
Adam Reese
23670f68f7
ref(ci): persist dep cache
...
AppVeyor should persist dep's store of remote repositories.
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Matthew Fisher
5eb48f4471
purge plugin directory on `helm plugin remove plug` ( #4068 )
...
><> ./bin/helm plugin remove lintr
Error: Failed to remove plugin lintr, got error (remove /home/bacongobbler/.helm/plugins/helm-lintr: directory not empty)
6 years ago
Josh Dolitsky
a32f8ebb37
Helm 3: initial registry support ( #5243 )
...
* initial registry support
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
* fix dependency mess
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
* add extra chart command output
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
* sanitize registry path (windows fix)
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
* store all sha256 blobs in same dir
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
* switch to use chartutil.SaveDir
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
* populate chart command long descriptions
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
* remove test cache dir in teardown
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
* add long description of chart export
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
* clean up table rows code
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
6 years ago
Adam Reese
612d3a9f27
Merge pull request #5260 from adamreese/v3/chart-engine
...
ref(*): remove references to chart 'engine'
6 years ago
Adam Reese
28d8c7b277
ref(*): remove references to chart 'engine'
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Matthew Fisher
087d1eab52
optimize vendor caching on appveyor ( #5251 )
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Adam Reese
6af20be8de
Merge pull request #5248 from adamreese/v3/bump-golang
...
chore(ci): bump golang to 1.11.5
6 years ago
Adam Reese
472b807e80
chore(ci): bump golang to 1.11.5
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Matthew Fisher
95c865513f
fix appveyor builds ( #4934 )
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Adam Reese
bb265b52bb
Merge pull request #5188 from adamreese/v3/fix-deps
...
fix(deps): resolve dep warning messages
6 years ago
Adam Reese
e0bc3979c8
fix(deps): resolve dep warning messages
...
Set version constraint for all dependencies
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Martin Hickey
86d8596763
Feature(Plugins): Enable platform specific commands ( #5176 )
...
* Add logic for platform specific commands to plugins
* Add plugins doc updated to incorporate platform specific commands
* Add condition for os match: If OS matches and there is no more specific match, the command
will be executed
6 years ago
Adam Reese
dee2a1a000
Merge pull request #5091 from splisson/doc5083
...
Doc: Update docs with the merged Chart.yaml and requirements.yaml fixes #5083
6 years ago
Adam Reese
1b51da9aa4
Merge pull request #5142 from adamreese/v3/version
...
ref(*): remove helmVersion chart constraint
6 years ago
Adam Reese
d94707db86
ref(*): remove helmVersion chart constraint
...
* Remove helmVersion constraint from charts
* Guard compile time set variables behind `internal/`
* Allow configuration of UserAgent for HTTPGetter
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Matt Butcher
f3bfae5ea7
fix: fix a number of style errors ( #5136 )
...
This fixes a dozen or so style errors, almost all of which were just missing comments.
I left several which are fixed in other outstanding PRs, or which belong to code that is about to be removed.
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
6 years ago
Matt Butcher
425f7a6f6c
feat: add 'pkg/action' for list operations ( #5077 )
...
* feat: add pkg/action to encapsulate action logic
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
* feat: replace client/server internals with action package
While we removed Tiller, we left the internal client/server architecture mostly intact. This replaces that architecture with the `pkg/action` package.
This implements the action package for list, but nothing else.
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
* feat: Add install and refactor some tests
This adds install to the action package, and then fixes up a lot of testing.
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
* fix: Move a bunch of sorters to the releaseutils package
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
* fix: updated APIs and fixed a failed test
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
* Use var for timestamper, instead of adding as a struct field
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
6 years ago
Adam Reese
8ba91790cc
Merge pull request #5133 from adamreese/v3/make
...
feat(Makefile): automate go vendoring and building
6 years ago
Adam Reese
f79521be7d
feat(Makefile): automate go vendoring and building
...
The `build` target will compile helm only when source code is modified
and run `dep ensure` if needed.
Only ensure golang tools are installed when needed for a specific target.
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Sebastien Plisson
25adb16388
Changed requirements.yaml references to dependencies section references
...
Signed-off-by: Sebastien Plisson <sebastien.plisson@gmail.com>
6 years ago
Sebastien Plisson
793ebf16ea
Updated change from requirements.yaml to dependencies field in Chart.yaml
...
Signed-off-by: Sebastien Plisson <sebastien.plisson@gmail.com>
6 years ago
Adam Reese
6973ddff65
Merge pull request #4993 from derkoe/dev-v3-add-history-max
...
feat(cmd/helm): re-add --history-max option to v3
6 years ago
derkoe
6e1b45888a
feat(cmd/helm): re-add --history-max option to v3
...
Since there is no tiller anymore this option make most sense with the
'helm upgrade' commando.
Origininally this was added in PR #2636 implementing the feature #2081 .
Signed-off-by: Christian Koeberl <christian.koeberl@gmail.com>
6 years ago
Adam Reese
2207f84964
Merge pull request #5034 from adamreese/dev-v3-kube-1.13
...
ref(*): kubernetes v1.13 support
6 years ago
Adam Reese
b6629b1cab
ref(*): kubernetes v1.13 support
...
kubernetes v1.13 support
The dependency `gopkg.in/yaml.v2` had to be upgraded which changed some
output formatting. The golden files for the tests are included.
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
426b3d947b
Merge pull request #5013 from adamreese/dev-v3-ref-config
...
ref(*): replace byte array with map for Release config
6 years ago
Adam Reese
2b81eea1e2
ref(*): replace byte array with map for Release config
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
7fa09e2d1f
Merge pull request #4983 from adamreese/dev-v3-ref-tests
...
ref(pkg/chartutil): simplify chart dependency unit tests
6 years ago
Adam Reese
6fc8c9e079
ref(pkg/chartutil): simplify chart dependency unit tests
...
- simplify unit tests
- refactor typed errors
- unexport internal functions
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
825b15c763
Merge pull request #4972 from adamreese/ref/chart-dependencies
...
ref(pkg/chart): rename Requirements to Dependencies
6 years ago
Adam Reese
85aef0d3d7
ref(pkg/chart): rename Requirements to Dependencies
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
roc
79f88dfc5e
ref(url) update helm's github url ( #4962 )
...
https://github.com/kubernetes/helm -> https://github.com/helm/helm
https://github.com/kubernetes/charts -> https://github.com/helm/charts
Signed-off-by: Roc Chan <roc@imroc.io>
6 years ago
Adam Reese
a6b8593152
Merge pull request #4946 from imroc/ref/repofile-to-file
...
ref(pkg/repo): rename RepoFile to File
6 years ago
roc
212d326a34
ref(pkg/repo): rename RepoFile to File
...
To resolve the linter warning: name start with package name.
Signed-off-by: Roc <roc@imroc.io>
6 years ago
Matt Butcher
b290247efa
ref: rename inspect to show ( #4927 )
...
Per the Helm 3 plan, `helm inspect` and all of its subcommands have been moved to `helm show`.
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
6 years ago
Adam Reese
f9d3280841
Merge pull request #4920 from adamreese/ref/chart
...
ref(pkg/chart): rename files to be consistent with types
6 years ago
Adam Reese
9e1e26f01e
ref(pkg/chartutil): attempt to make requirements processing readable
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
f5b6ff2832
ref(pkg/chart): rename files to be consistent with types
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Tariq Ibrahim
e648c9d1a1
fix missing formatting character error in wrapf statement ( #4881 )
...
Signed-off-by: tariqibrahim <tariq.ibrahim@microsoft.com>
6 years ago
Matt Butcher
7061716406
ref: require name by default on 'helm install' ( #4858 )
...
This is described in the official Helm 3 proposal: https://github.com/helm/community/blob/master/helm-v3/000-helm-v3.md
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
6 years ago
Matthew Fisher
bdd420a6b6
remove dirname constraint on `helm package` ( #4141 )
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Adam Reese
273902a4c9
Merge pull request #4802 from adamreese/dev-v3-broken-links
...
ref(tests): remove broken symlinks in testdata
6 years ago
Adam Reese
3b0ba0f71e
ref(tests): remove broken symlinks in testdata
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Martin Hickey
82c154e2ae
doc(helm): remove Tiller reference from the docs ( #4788 )
...
* Remove Tiller reference from the docs
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
* Update comments after review
- https://github.com/helm/helm/pull/4788#discussion_r226037034
- https://github.com/helm/helm/pull/4788#discussion_r226037064
- https://github.com/helm/helm/pull/4788#discussion_r226037806
- https://github.com/helm/helm/pull/4788#discussion_r226038492
- https://github.com/helm/helm/pull/4788#discussion_r226039202
- https://github.com/helm/helm/pull/4788#discussion_r226039894
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
6 years ago
Adam Reese
c40905ff6d
Merge pull request #4794 from adamreese/dev-v3-kube-1.12
...
ref(*): kubernetes v1.12 support
6 years ago
Adam Reese
b4ed1de6b8
ref(*): kubernetes v1.12 support
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago