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>
7 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>
7 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>
7 years ago
Adam Reese
8ba91790cc
Merge pull request #5133 from adamreese/v3/make
...
feat(Makefile): automate go vendoring and building
7 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>
7 years ago
Sebastien Plisson
25adb16388
Changed requirements.yaml references to dependencies section references
...
Signed-off-by: Sebastien Plisson <sebastien.plisson@gmail.com>
7 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>
7 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
7 years ago
Christian Koeberl
62533e2b0e
fix(pkg/chartutil): conditions for alias and umrella charts ( #3734 )
...
Enable to use charts with dependencies that have conditions (e.g. in
umbrella charts). Allow aliases for dependencies that have dependencies
with conditions.
Closes #3734
Signed-off-by: Christian Koeberl <christian.koeberl@gmail.com>
7 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>
7 years ago
Adam Reese
2207f84964
Merge pull request #5034 from adamreese/dev-v3-kube-1.13
...
ref(*): kubernetes v1.13 support
7 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>
7 years ago
Adam Reese
426b3d947b
Merge pull request #5013 from adamreese/dev-v3-ref-config
...
ref(*): replace byte array with map for Release config
7 years ago
Adam Reese
2b81eea1e2
ref(*): replace byte array with map for Release config
...
Signed-off-by: Adam Reese <adam@reese.io>
7 years ago
Adam Reese
7fa09e2d1f
Merge pull request #4983 from adamreese/dev-v3-ref-tests
...
ref(pkg/chartutil): simplify chart dependency unit tests
7 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>
7 years ago
Adam Reese
825b15c763
Merge pull request #4972 from adamreese/ref/chart-dependencies
...
ref(pkg/chart): rename Requirements to Dependencies
7 years ago
Adam Reese
85aef0d3d7
ref(pkg/chart): rename Requirements to Dependencies
...
Signed-off-by: Adam Reese <adam@reese.io>
7 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>
7 years ago
Adam Reese
a6b8593152
Merge pull request #4946 from imroc/ref/repofile-to-file
...
ref(pkg/repo): rename RepoFile to File
7 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>
7 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>
7 years ago
Adam Reese
f9d3280841
Merge pull request #4920 from adamreese/ref/chart
...
ref(pkg/chart): rename files to be consistent with types
7 years ago
Adam Reese
9e1e26f01e
ref(pkg/chartutil): attempt to make requirements processing readable
...
Signed-off-by: Adam Reese <adam@reese.io>
7 years ago
Adam Reese
f5b6ff2832
ref(pkg/chart): rename files to be consistent with types
...
Signed-off-by: Adam Reese <adam@reese.io>
7 years ago
Tariq Ibrahim
e648c9d1a1
fix missing formatting character error in wrapf statement ( #4881 )
...
Signed-off-by: tariqibrahim <tariq.ibrahim@microsoft.com>
7 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>
7 years ago
Matthew Fisher
bdd420a6b6
remove dirname constraint on `helm package` ( #4141 )
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Adam Reese
273902a4c9
Merge pull request #4802 from adamreese/dev-v3-broken-links
...
ref(tests): remove broken symlinks in testdata
7 years ago
Adam Reese
3b0ba0f71e
ref(tests): remove broken symlinks in testdata
...
Signed-off-by: Adam Reese <adam@reese.io>
7 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>
7 years ago
Adam Reese
c40905ff6d
Merge pull request #4794 from adamreese/dev-v3-kube-1.12
...
ref(*): kubernetes v1.12 support
7 years ago
Adam Reese
b4ed1de6b8
ref(*): kubernetes v1.12 support
...
Signed-off-by: Adam Reese <adam@reese.io>
7 years ago
Matt Butcher
1ce594f410
ref(helm): rename fetch to pull ( #4714 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
7 years ago
Matt Butcher
9fda187647
fix(tests): set mock to generate UTC timestamps ( #4716 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
7 years ago
Adam Reese
d6ba48d07e
Merge pull request #4623 from adamreese/dev-v3-driver-errors
...
ref(driver): refactor out function type errors
7 years ago
Adam Reese
3be0d81da7
ref(driver): refactor out function type errors
...
Signed-off-by: Adam Reese <adam@reese.io>
7 years ago
Adam Reese
e7b0fe9320
Merge pull request #4566 from adamreese/dev-v3-chartlock
...
ref(*): rename requirements.lock to Chart.lock
7 years ago
Adam Reese
21259507bd
ref(*): rename requirements.lock to Chart.lock
...
Signed-off-by: Adam Reese <adam@reese.io>
7 years ago
Adam Reese
0d9a226fd9
Merge pull request #4561 from adamreese/dev-v3-requirements
...
ref(*): merge requirement.yaml into Chart.yaml
7 years ago
Adam Reese
f7a7a157ce
ref(*): merge requirement.yaml into Chart.yaml
...
Signed-off-by: Adam Reese <adam@reese.io>
7 years ago
Adam Reese
07de1018d9
Merge pull request #4559 from adamreese/dev-v3-values
...
ref(chart): use map for chart.Values
7 years ago
Adam Reese
516c53dae6
ref(chart): use map for chart.Values
...
Signed-off-by: Adam Reese <adam@reese.io>
7 years ago
Adam Reese
4ffd35f238
Merge pull request #4531 from adamreese/dev-v3-license
...
change copyright to "Copyright The Helm Authors"
7 years ago
Adam Reese
4f26b658d8
change copyright to "Copyright The Helm Authors"
7 years ago
Adam Reese
35e931135c
Merge pull request #4518 from adamreese/dev-v3-ref-chart
...
ref(*): refactor chart/chartutil
7 years ago
Adam Reese
f012940d9c
ref(*): refactor chart/chartutil
...
ref(chartutil): move chart loading out of chartutil into new package
add chart loader interface to allow lazy loading
feat(chart): create chart accessors
ref(*): cleanup requirements
ref(tiller): remove optional template engines
ref(tiller): simplify sorting releases and hooks
ref(*): code simplification
ref(hapi): move chart package out of hapi
ref(chart): add requirements and lock to Chart struct
7 years ago
Adam Reese
56c4b9b48d
Merge pull request #4509 from adamreese/dev-v3-kube-v1.11
...
ref(*): kubernetes v1.11 support
7 years ago
Adam Reese
7423eddf21
ref(*): kubernetes v1.11 support
7 years ago
Matthew Fisher
c6df39597c
Merge pull request #4224 from bacongobbler/helm-uninstall
...
ref(cmd): rename `helm delete` to `helm uninstall`
7 years ago