Matthew Fisher
0b1caa14a7
Merge pull request #5489 from bacongobbler/list-move-namespaces-field
...
ref(list): move namespaces field closer to the name
6 years ago
Matthew Fisher
32712201ec
ref(list): move namespaces field closer to the name
...
Most users want to see the release name and the namespace it was deployed to,
as those are the unique identifiers where the release is stored. I also added
integration tests for `helm list` to better test the command output.
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Adam Reese
271e4cf111
fix(cmd/template): allow setting release name for template
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
bcbc3875bd
fix(pkg/action): action log must be initialized
...
Fixes panic from calling Log.
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Matthew Fisher
8f37ab48ac
Merge pull request #5455 from bacongobbler/fix-list
...
fix(install): fix issue where chart metadata is not being saved on `helm install`
6 years ago
Matthew Fisher
5c2f235b6c
fix(install): fix issue where chart metadata is not being saved on `helm install`
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Adam Reese
895e9192d4
feat(*): use vanity import helm.sh/helm
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Matthew Fisher
1707a8a870
style(cmd): go fmt
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Matthew Fisher
3bcc3a91de
ref(cmd): remove mockTestSuccessTemplate
...
unused code
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Matthew Fisher
f8ed917830
test(cmd): refactor release_testing_test.go
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Matthew Fisher
f185103b60
ref(action): move AddFlags functions back to cmd
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Matthew Fisher
2b775d693d
ref(action): remove io.Writers, return string instead
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Matthew Fisher
6bb9264e89
fix(helm): fix `helm status` output formatting
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Matthew Fisher
2571dbf82f
ref: remove pkg/helm, pkg/hapi, pkg/tiller
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Adam Reese
de1cbf2ad3
Merge pull request #5419 from adamreese/v3/completion
...
fix(cmd/helm): cherry-pick completion fix for zsh completion
6 years ago
Marc Khouzam
a40e3c5279
Fix #5046 compatible with MacOS ( #5406 )
...
Signed-off-by: Marc Khouzam <marc.khouzam@gmail.com>
(cherry picked from commit c94c00915f
)
6 years ago
Peter Stalman
8e45b0565c
Fixes #5046 , zsh completion ( #5072 )
...
Signed-off-by: Peter Stalman <sarkedev@gmail.com>
(cherry picked from commit 4c1edcf049
)
6 years ago
Bartel Sielski
f98366fc50
Remove newline at the start of zsh completion file ( #4851 )
...
Signed-off-by: Bartel Sielski <bartel.sielski@gmail.com>
(cherry picked from commit 1ebbd69896
)
6 years ago
Adam Reese
849f27d11f
ref(pkg/engine): make template specific functions private
...
Make template specific functions private to ensure they not misused and
make unit tests simpler. We may export the template helpers later if
needed.
This lays the foundation for the new chart pipeline.
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Matthew Fisher
2a82e6cbe6
docs: s,kubernetes/helm,helm/helm,g ( #5404 )
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Adam Reese
a1a7d3e824
ref(pkg/helm): refactor out `ReleaseStatus`
...
The `ReleaseStatus()` client call returns the same information as
`ReleaseContent()`
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Martin Hickey
ef4d2a6e65
Update after review
...
Review comment:
- https://github.com/helm/helm/pull/5295#pullrequestreview-203519813
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
6 years ago
Martin Hickey
abdaf3ce1b
Add chart type
...
The chart type is added to differentiaite between an application chart
and a library chart. Library charts can be used as dependencies but are
not installable.
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
6 years ago
Adam Reese
e51a9b90c9
Merge pull request #5284 from adamreese/v3/make-format
...
feat(Makefile): add formatting target
6 years ago
Martin Hickey
45fb4b1c44
Fix linter warnings
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
6 years ago
Adam Reese
f791421fab
feat(Makefile): add formatting target
...
Signed-off-by: Adam Reese <adam@reese.io>
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
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
28d8c7b277
ref(*): remove references to chart 'engine'
...
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
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
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
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
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
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
2b81eea1e2
ref(*): replace byte array with map for Release config
...
Signed-off-by: Adam Reese <adam@reese.io>
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
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
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
b4ed1de6b8
ref(*): kubernetes v1.12 support
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Matt Butcher
1ce594f410
ref(helm): rename fetch to pull ( #4714 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
6 years ago
Matt Butcher
9fda187647
fix(tests): set mock to generate UTC timestamps ( #4716 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
6 years ago
Adam Reese
3be0d81da7
ref(driver): refactor out function type errors
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
21259507bd
ref(*): rename requirements.lock to Chart.lock
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
f7a7a157ce
ref(*): merge requirement.yaml into Chart.yaml
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
516c53dae6
ref(chart): use map for chart.Values
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
4f26b658d8
change copyright to "Copyright The Helm Authors"
6 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
6 years ago
Adam Reese
7423eddf21
ref(*): kubernetes v1.11 support
6 years ago
Matthew Fisher
195d21d5d7
ref(cmd): rename `helm delete` to `helm uninstall`
...
To match the convention of `helm install`, `helm uninstall` is the inverse.
Other tangential changes in this PR:
- StatusDeleting has been changed to StatusUninstalling
- StatusDeleted has been changed to StatusUninstalled
- `helm list --deleted` has been changed to `helm list --uninstalled`
- `helm list --deleting` has been changed to `helm list --uninstalling`
- `helm.DeleteOption` and all delete options have been renamed to `helm.UninstallOption`
I have not made any changes to the "helm.sh/hook-delete-policy", "pre-delete" and "post-delete" hook annotations because
1. it's a major breaking change to existing helm charts, which we've commited to NOT break in Helm 3
2. there is no "helm.sh/hook-install-policy" to pair with "helm.sh/hook-uninstall-policy", so delete still makes sense here
`helm delete` and `helm del` have been added as aliases to `helm uninstall`, so `helm delete` and `helm del` still works as is.
6 years ago
Adam Reese
aa859e3f88
feat(*): remove Time, Namespace, and Revision from template functions
...
Removes Time, Namespace, and Revision from being exposed to templates to
make template rendering discrete and repeatable.
6 years ago
Adam Reese
0653ff7635
ref(cmd): dry up values and chartpath flag options
6 years ago
Adam Reese
1d2f40c801
ref(cmd): test template cmd using golden files
6 years ago
Adam Reese
4cc3498608
ref(cmd): refactor argument validation
6 years ago
Adam Reese
a02a598c33
ref(tests): simplify cmd test setup/teardown
...
Ensure proper cleanup of `HELM_HOME` and `HELM_DEBUG`
6 years ago
Adam Reese
726e3c41be
feat(*): print stacktrace on error with debug enabled
6 years ago
Adam Reese
57e288a88d
ref(cmd): consistent naming of cmd variables
7 years ago
Adam Reese
c30637b8a1
ref(cmd): remove Writer from Cmd options stucts
7 years ago
Adam Reese
75c4df0b56
ref(tests): use golden files for testing command output
7 years ago
Adam Reese
36e034551f
ref(*): rebuild build version object
7 years ago
Adam Reese
3b9596c6ab
ref(*): convert const types to strings
7 years ago
Adam Reese
a5b7cde9e5
ref(cmd): simplify cmd test setup
7 years ago
Adam Reese
c50813af54
ref(*): remove local repository (dead code)
7 years ago
Adam Reese
b8eb479a4f
ref(cmd): remove serve command
...
https://github.com/kubernetes-helm/community/blob/master/helm-v3/000-helm-v3.md#commandflag-differences-from-helm-2
7 years ago
Adam Reese
341e6f4f45
feat(cmd): add --all-namespaces to list
7 years ago
Adam Reese
1a508ccdd1
ref(*): move kubeconfig flags to helm/environment
7 years ago
Adam Reese
19398a2ef1
feat(*): store release History in same namespace as release
...
https://github.com/kubernetes-helm/community/blob/master/helm-v3/003-state.md#namespacing-changes
7 years ago
Adam Reese
8cdebdb2d5
feat(cmd): alias -n to --namespace
...
https://github.com/kubernetes-helm/community/blob/master/helm-v3/000-helm-v3.md#commandflag-differences-from-helm-2
7 years ago
Adam Reese
29e772f631
ref(*): replace TillerVersion with HelmVersion
7 years ago
Adam Reese
4c95185164
ref(*): replace chart.config with []byte
7 years ago
Adam Reese
c5151fb7b3
ref(*): cleanup timestamps in tests
7 years ago
Adam Reese
c5a76deba3
ref(*): use go conventions for naming types
7 years ago
Adam Reese
36536d77ba
ref(*): remove protobuf any type
7 years ago
Adam Reese
91a6ebfed5
ref(*): remove protobuf timestamps
7 years ago
Adam Reese
6345f04190
ref(hapi): convert protobuf to go types
7 years ago
Adam Reese
a78aff8d39
ref(*): improve initializing helm clients
7 years ago
Adam Reese
68c0b6a24a
ref(proto): remove unused protobufs
7 years ago
Adam Reese
7f6fa70a91
ref(*): remove grpc
7 years ago
Adam Reese
358746fee6
ref(*): remove HELM_HOST
7 years ago
Adam Reese
fc4c095cf0
ref(*): remove pkg/kubernetes from tiller and storage
7 years ago
Adam Reese
496ca54183
ref(*): bypass grpc for helm client
7 years ago
Adam Reese
a6f0d1360d
fixup! ref(cmd,pkg/helm): remove server side version
7 years ago
Adam Reese
5715ee43d6
ref(*): bypass grpc when invoking helm list
...
TODO reimplement any paging
7 years ago
Adam Reese
30a049d12e
ref(cmd): remove deprecated command
7 years ago
Adam Reese
61a9003a97
ref(cmd/tiller): delete main tiller package
7 years ago
Adam Reese
9409adfa8d
ref(cmd): remove reset and init tiller commands
7 years ago
Adam Reese
6bca9686a1
ref(pkg/helm): allow ReleaseContent to call storage directly
7 years ago
Adam Reese
d52faff7b6
ref(cmd,pkg/helm): remove tiller ping
7 years ago
Adam Reese
1d9c3d4651
ref(cmd,pkg/helm): remove server side version
7 years ago
Adam Reese
e909258fe8
remove rudder build infra
7 years ago
Taylor Thomas
24bde5900b
Merge pull request #3853 from adshmh/refactor-reset-unit-tests-to-remove-duplication
...
refactor reset command unit tests to remove duplication
7 years ago
Matthew Fisher
15e9f54144
Merge pull request #3808 from adshmh/refactor-release-testing-unit-tests-to-utilize-runReleaseCases
...
refactor release_testing unit tests to utilize runReleaseCases
7 years ago
Matthew Fisher
8981575082
Merge pull request #3715 from bacongobbler/fix-get-manifest
...
fix `helm get manifest` context deadline exceeded error
7 years ago
Arash Deshmeh
826781a1a3
fix(helm) refactor reset command unit tests to remove duplication in test code
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Taylor Thomas
b718b1c870
fix(package): Adds missing `set-string` flag and parameter
...
A recent PR (#3471 ) wasn't up to date with the latest master changes.
This fixes the issue and adds the right number of parameters to the
`vals` function call.
7 years ago
Matthew Fisher
d078caa0d0
Merge pull request #3471 from adshmh/add-set-and-values-options-to-helm-package
...
feat: add --set and --values options to 'helm package'
7 years ago
Taylor Thomas
6a649134e0
Merge pull request #3783 from RyanHartje/fail_lint_when_chart_yaml_missing
...
return a non 0 exit code when lint fails due to missing Chart.yaml
7 years ago
Michelle Noorali
e922a873bc
ref(cmd/upgrade): update reuse-values flag descrip
...
helps clarify behavior. See #3655
7 years ago
Matthew Fisher
a8023979ec
Merge pull request #3830 from michelleN/prettyError
...
ref(cmd/helm): show grpc error msg from prettyError
7 years ago
Michelle Noorali
499636d70c
ref(cmd/helm): show grpc error msg from prettyError
7 years ago
Ryan Hartje
9b20d91e42
using existing mechanism to flag for failures
7 years ago
Taylor Thomas
3ba2a00982
Merge pull request #3784 from jkoleszar/tiller-rbac
...
Fix tiller deployment on RBAC clusters
7 years ago
Taylor Thomas
9654c616c2
Merge pull request #3813 from usabilla/merge-values
...
Removes unnecessary if block
7 years ago
Matthew Fisher
c52707fb26
import client auth plugins
7 years ago
Gijs Kunze
458ba8ce37
Removes unnecessary if block
7 years ago
Brian
58e4b6ac61
Merge pull request #3782 from fibonacci1729/master
...
stream releases when listing
7 years ago
Arash Deshmeh
ea7c3fefc8
fix(helm) refactor release_testing unit tests to utilize runReleaseCases
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Arash Deshmeh
e0056a9e41
fix(helm): fix output leak from unit tests of helm create command
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
John Koleszar
1e03f1bce5
Fix tiller deployment on RBAC clusters
...
Adds automountServiceAccountToken when a serviceAccount is specified.
Prior to this, tiller falls back to contacting the KUBERNETES_SERVICE on
localhost:8080 rather than respecting the cluster IP in the
KUBERNETES_SERVICE_{HOST,PORT} environment variables.
Fixes #3460 , fixes #3467 .
7 years ago
Ryan Hartje
343acc5a60
return a non 0 exit code when lint fails due to missing Chart.yaml
7 years ago
fibonacci1729
2dd9b34d28
stream releases when listing
7 years ago
Matthew Fisher
793cda8aa0
Merge pull request #3730 from helgi/feature/gh-3682
...
Create index.yaml if missing when running repo index --merge
7 years ago
Matthew Fisher
282984e75f
Merge pull request #3716 from lestrrat/master
...
Add actionable message in the error
7 years ago
Helgi Þorbjörnsson
141e015590
Create index.yaml if missing when running repo index --merge
...
Fixes #3682
7 years ago
Arturo Contreras
a615f80c92
Adding --set-string flag to force string values.
7 years ago
Eyal Ben Moshe
b6335b7dfe
Authentication support for remote charts repositories ( #3206 )
...
Authentication support for remote charts repositories.
7 years ago
Adam Reese
19c73207b2
Merge pull request #3717 from adamreese/fix/history-output
...
fix(helm): fix helm history unit tests
7 years ago
Andrii Soldatenko
08f450404b
Fixed typo
7 years ago
Adam Reese
34b6d12ebe
fix(helm): fix helm history unit tests
...
fixes #3652
7 years ago
Matthew Fisher
87f66af061
Merge pull request #3652 from rajatjindal/history-format
...
add support for output format in json or yaml
7 years ago
Daisuke Maki
afed555572
Add actionable message in the error
...
See #3697
7 years ago
Matthew Fisher
87c64e7987
fix `helm get manifest` context deadline exceeded error
7 years ago
Michelle Noorali
fbb692707e
Merge pull request #3688 from adshmh/fix-duplication-of-test-code-on-helm-search
...
Fix helm search command error on index search failures
7 years ago
Matthew Fisher
8d5f215e1c
Merge pull request #3705 from adshmh/fix-duplication-of-test-code-on-helm-dependency
...
Refactor tests on helm dependency list command to remove duplication
7 years ago
Matthew Fisher
c4c165e820
Merge pull request #3699 from adshmh/fix-duplication-of-test-code-on-helm-repo-add
...
Refactor tests of repo-add command to remove duplication
7 years ago
Arash Deshmeh
74bf7584a0
fix(helm): refactor tests on helm dependency list command to remove duplication
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Arash Deshmeh
b66c10df10
fix(helm): remove duplication in tests of repo-add command
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Matthew Fisher
6de9ebccbc
fix windows path issues on `helm template -x`
7 years ago
Arash Deshmeh
1e4770248c
fix(helm): refactor search command tests to remove duplication
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Arash Deshmeh
4b145622a2
fix(helm): search command returns error on index search failures (specifically on regular expression errors)
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Arash Deshmeh
a930eb7ff4
feat: add --set and --values options to 'helm package'
...
When 'helm package --set stringsArray' is run, this will set/override values
in the packaged chart. 'helm package --values valueFiles' uses one or more
value files to achieve the same.
Closes #3141
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Rajat Jindal
333341425a
update documentation as per review feedback
7 years ago
Florian Zysset
3625241025
feat(helm): inspect readme
7 years ago
Matthew Fisher
5ddf2f36c5
Merge pull request #3507 from adshmh/fix-left-over-helm-home-dirs-from-unit-tests
...
Fix the unit tests to avoid leaving behind 'helm_home*' temporary directories during build
7 years ago
Arash Deshmeh
23b570fabd
fix(helm): refactor helm version command tests to remove duplication
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Matthew Fisher
d08778fcb4
Merge pull request #3662 from adshmh/fix-duplication-of-test-code-on-helm-status
...
Refactor helm status command tests to remove duplication
7 years ago
Arash Deshmeh
e25df2ae76
fix(helm) refactor helm status command tests to use releaseCase struct and the corresponding function runReleaseCases. Fixes #3659
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Rajat Jindal
c93ff32f52
make table explicitly default
7 years ago
Arash Deshmeh
cdd9a85676
fix(helm): remove duplicate code from cmd/helm/history_test.go. Closes #3649
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Rajat Jindal
46ed802750
add support for output format in json or yaml
7 years ago
Taylor Thomas
38335161d9
Merge pull request #3638 from adshmh/fix-duplication-of-test-code-on-helm-list
...
Remove duplicate test code from cmd/helm/list_test.go
7 years ago
Taylor Thomas
cb12dbba97
Merge pull request #3595 from Stelminator/relative-home-path-part1
...
Relative home path part1
7 years ago
Matthew Fisher
a66a39a171
fix helm init --wait
7 years ago
Arash Deshmeh
75ccc353eb
fix(helm): remove duplicate test code from cmd/helm/list_test. Closes #3637
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Taylor Thomas
9bd03fd571
Merge pull request #3615 from mparry/fix-search-crash
...
fix(helm): Don't crash in search if upper case chars are encountered
7 years ago
Arash Deshmeh
da989dc275
fix(helm): fix the bug in test code 'cmd/helm/init_test.go' and 'cmd/helm/repo_update_test.go'
...
that leave behind temporary helm home directories during build.
With this fix, the build process no longer leaves behind 'helm_home-*' temp directories.
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Morgan Parry
d848990122
fix(helm): Don't crash in search if upper case chars are encountered.
...
Closes #3088
7 years ago
Yaroslav Molochko
2f252e9524
Add --replicas option for HA fixes #2334
7 years ago
Christopher A. Stelma
dc7e465705
pass home down through createLink
7 years ago
Ryan Payton
81e09ff14c
updating DownloadIndexFile function call to pass in HELM_HOME
7 years ago
James Munnelly
829fe51f1e
Add link to securing helm docs in 'helm init' text
7 years ago
Justin Scott
420be49522
Merge pull request #3475 from jascott1/3394_reset
...
fix(helm): update helm reset --force tip for clarity
7 years ago
Matthew Fisher
bf77961cf4
Merge pull request #3383 from PureWhiteWu/refactor/error
...
refactor prettyError, closes #3381
7 years ago
Matthew Fisher
e13eba128f
Merge pull request #3508 from adshmh/fix-set-app-version-unit-test-implicit-dependency
...
fix the implicit dependency of TestSetAppVersion test on previous tests
7 years ago
Matthew Fisher
44fe4ce2a6
Merge pull request #3519 from liamawhite/master
...
Fix linting bug with charts containing more than one hyphen
7 years ago
Matthew Fisher
de678ca51e
Merge pull request #3532 from joonix/mute_warning
...
Mute upgrade --install default namespace warning
7 years ago
Matthew Fisher
5e2362e008
Merge pull request #3543 from adshmh/fix-left-over-repotest-dirs-from-tests
...
Clean up temporary "helm-repotest-*" directories left behind by tests under cmd/helm
7 years ago
Matthew Fisher
17c2272490
Merge pull request #3482 from powerhome/bugfix/keepalive-mismatch
...
Tiller should only enforce what we expect from Helm
7 years ago
Arash Deshmeh
55cc23cb01
fix(helm): fix the bug in tests under cmd/helm that leaves behind temporary directories named "repo-test-*" during build.
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Johnny Bergström
0d758cfd41
Mute upgrade --install default namespace warning
...
Initialize empty selection like in the install command to prevent:
WARNING: Namespace doesn't match with previous
7 years ago
Liam White
abd33764e8
Fix linting bug with charts containing more than one hyphen
7 years ago
Arash Deshmeh
c78af5483c
fix(helm): fix the implicit dependency of TestSetAppVersion test on previous tests, due to helm home,
...
by explicitly creating a temporary helm directory for the test.
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Arash Deshmeh
a9ba3aa897
fix(helm): fix the bug in test code 'cmd/helm/create_test.go' that leaves behind temp directories during build
...
The build process no longer leaves behind 'helm-create-*' temp directories.
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Sunny
cff4ea416e
feat(helm): add --template flag to `helm version`
...
`helm version --template` prints the client and server version info in
the provided template format.
7 years ago
Justin Scott
084a2bb945
fix(helm): update helm reset --force tip for clarity
...
Updates helm reset error message to clarify that --force will not remove releases.
Closes #3394
7 years ago
Ben Langfeld
3b22ecd53b
Keepalive config should be independent of TLS
7 years ago
Ben Langfeld
588f7a8443
Tiller should only enforce what we expect from Helm
...
https://github.com/kubernetes/helm/pull/3183 added a keepalive to the Helm client of 30s period, while Tiller was never configured to permit this, keeping the default minimum keepalive period of 5 minutes, disconnecting any clients which ping more regularly than this.
This commit enforces a minimum that is lower than what Helm is configured for, preventing these disconnections, and thus fixes #3409 .
7 years ago
Arash Deshmeh
244b1b1528
fix(helm): fix the build-time golint warning on 'cmd/helm/install.go'
...
When building helm, golint no longer generates the following warning:
cmd/helm/install.go:502:9⚠️ if block ends with a return statement, so drop this else and outdent its block (golint)
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Matthew Fisher
3c39e72189
Merge pull request #3401 from bacongobbler/revert-kubeconfig-flag
...
Revert "feat(helm): adding kubeconfig flag"
7 years ago
Matthew Fisher
f13c4d28b5
Revert "feat(helm): adding kubeconfig flag"
...
This reverts commit 371ff8f26d
.
7 years ago
Matthew Fisher
4947e5aaf8
fix helm init --upgrade logic
7 years ago
Pure White
0ddfbaafb6
refactor prettyError, closes #3381
7 years ago
Kazuki Suda
7b5a837b04
helm template: display the default value of --kube-version in help message
...
This commit improves to display the default value of --kube-version in
help message of `helm template` command.
```
--kube-version string kubernetes version used as Capabilities.KubeVersion.Major/Minor (default "1.9")
```
7 years ago
Matt Farina
c359ea66ed
Merge pull request #3350 from mattfarina/fix/3349
...
fix(capabilities): Adding GitVersion to default set
7 years ago
Alex Johnson
b29d25ef0b
Added a --wait flag for helm init which pings the Tiller server and ensures that it is ready to receive requests
...
Fixes #2114
Signed-off-by: Alex Johnson <ajohnson@bombora.com>
7 years ago
Reinhard Nägele
d819ca2b94
Add AppVersion to initial chart
7 years ago
Matt Farina
d5a865b5f4
fix(capabilities): Adding GitVersion to default set
...
Prior to this, using the semver template functions with the full
version, which is represented in the GitVersion, was not possible
for helm template and lint commands because the property was not
populated by default. This update adds default handling.
Closes #3349
7 years ago
Adam Reese
e9203b826b
fix(helm): filter helm list to print latest release ( #3335 )
...
`helm list` should only list latest release
fixes #3208
7 years ago
rocky-nupt
a6381e83a7
feat(helm): Add --col-width to helm list and helm history ( #2836 )
...
* feat(helm): Add --full-output to helm list and helm history
The default maximum length of the output table is 60 chars.
When the length is greater than 60, the content will be omitted.
This patch adds -f and --full-output to helm list and helm history
which can display full information of releases on the screen.
Closes #2828
* a
* feat(helm): Add --full-output to helm list and helm history
The default maximum length of the output table is 60 chars.
When the length is greater than 60, the content will be omitted.
This patch adds -f and --full-output to helm list and helm history
which can display full information of releases on the screen.
Closes #2828
7 years ago
Florian Zysset
fa06dd176d
helm init --upgrade will downgrade ( #2805 )
...
* Don't downgrade tiller with helm init --upgrade unless --force-upgrade is specified
Fix tests after merging master
* Reformatting with gofmt
7 years ago
Adam Reese
a31e3b8fe1
ref(*): kubernetes v1.9 support ( #3234 )
7 years ago
Matthew Fisher
1e373043b7
Merge pull request #3233 from pietromenna/symbolic-link-on-helm-init
...
fix(helm): Init not creating local-index symlink on Windows
7 years ago
Matthew Fisher
5decaa244e
Merge pull request #2754 from rbwsam/feat/get_kube_ver
...
feat(*): add k8s version to version debug cmd
7 years ago
Julian
ca415ab8db
feat(helm): support namespace and additional values in lint ( #2972 )
...
* Add "--namespace" to helm lint
Keep lint syntax as close as possible to "helm install" resp. "helm
upgrade", so that one only needs to change the command.
See #2036
* Align lintCmd struct
* Add "--set" and "--values" to helm lint
Keep lint syntax as close as possible to "helm install" resp. "helm
upgrade", so that one only needs to change the command.
Closes #2495,#2036
* Reuse strict parameter, when rendering during lint
We want to see the rendering fail, if we missed a value, so we reuse
"--strict".
See #2495,#2036
* Fix lint unit test
See #2495,#2036
* Update docs
7 years ago
Pietro Menna
9129188fad
fix(helm): Init not creating local-index symlink on Windows
...
os.Symlink required additional permissions on Windows, and init is not currently identifying the failed creation.
Related to #2071
7 years ago
Matt Farina
9d4b9ca208
feat(status): Optional output as JSON and YAML
7 years ago
Sam Leavens
558dcf3cd4
Only show k8s version if asking for server version
7 years ago
Matthew Fisher
618094ccd2
fix TLS default path
...
Without this change, running `helm list --tls` without setting $HELM_HOME causes helm to look for TLS certificates under /.
7 years ago
Taylor Thomas
44e5cecdca
fix(tiller): Forces close of idle gRPC connections
...
Possibly fixes #3121 . This forces idle connections to drop after 10 minutes
7 years ago
Adam Reese
e93b77166d
Merge pull request #3025 from beeradb/fakeclient-releasestatus
...
Improvements to FakeClient: support all CRUD operations
7 years ago
Arash Deshmeh
9e869700c0
fix(helm): add --app-version flag to 'helm package'
...
When 'helm package --app-version foo' is run, this will
set the AppVersion field to 'foo' in the packaged chart.
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Igor Vuk
d81780032a
Fix a typo in install.go, update helm_install.md
7 years ago
Matthew Fisher
cad89240f3
Merge pull request #3187 from hoesler/fix/chart_downloader
...
fix(helm): resolve relative chart paths
7 years ago
Christoph Hösler
af9190f956
feature: let FindChartInRepoURL return absolute chart URLs
7 years ago
Morgan Parry
b74c21a7b2
fix(helm): Fixed semantic version constraints on 'search' command ( #3116 )
...
Closes #3115
7 years ago
Christoph Hösler
2106766ab8
fix: rename variable due to linter warning
7 years ago
Christoph Hösler
57daa56b81
Update installDesc
7 years ago
Christoph Hösler
09313ad26c
fix(helm): resolve relative chart paths
7 years ago
Rajat Jindal
7f13e13a71
support output-dir when running 'helm template' ( #3144 )
...
* support output-dir when running 'helm template'
* add --output-dir to documentation
* when writing to file, dont add additional document
* trigger another ci build. make test-unit works for me
* dont write blank files
* return err instead of panic
7 years ago
Michelle Noorali
5884124294
ref(docs): update plugin install documentation
7 years ago
Matt Butcher
e8e6ac5d77
Fix/missing ssl params ( #3152 )
...
* fix(helm): add TLS params back
During a recent refactor, several TLS flags stopped being processed for
a few of the commands. This fixes those commands, and documents how to
set up TLS.
* fix(tiller): add stricter certificate verification
The older version of Tiller allowed a weaker set of certificate checks
than we intended. This version requires a client certificate, and then
requires that that certificate be signed by a known CA. This works
around the situation where a user could provide a self-signed
certificate.
7 years ago
Taylor Thomas
f6bff5da94
Merge pull request #3052 from Lookyan/master
...
Add previous namespace mismatch warning
7 years ago
Alexander Lukyanchenko
6f6d46de06
Fix err checking
7 years ago
Matthew Fisher
1954b51186
Merge pull request #2621 from gardlt/feature/helm/adding-kubeconifg-flag
...
feat(helm): adding kubeconfig flag
7 years ago
gardlt
371ff8f26d
feat(helm): adding kubeconfig flag
7 years ago
Matthew Fisher
1eb96ad9bc
use 127.0.0.1 instead of localhost
7 years ago
Matthew Fisher
fd33003065
Merge pull request #3078 from ipedrazas/feat/add_http_port
...
feat(tiller): exposes port 44135 in tiller deployment
7 years ago
Ivan Pedrazas
f20af6ab4c
feat(tiller): exposes port 44135 in tiller deployment
...
Tiller exposes probes and metrics in 44135. Because tiller doesn't expose that port and does not contain any Prometheus annotations, making Prometheus scrape tiller is a bit more complex.
Closes #2985
7 years ago
xuhaigang
ae49979175
feat(helm): Add a flag --dep-up that helm install will automatically execute helm dep up when charts are in requirements.yaml but not in charts
...
If checkdependencies returns an error, we can start download the
charts which are not in charts.
Closes #2879
7 years ago
Matthew Fisher
c35cbe8c4b
Merge pull request #2825 from dshulyak/rudderport
...
Allow to specify socket for rudder grpc server
7 years ago
Adam Reese
ca4d543151
Merge pull request #3059 from mattfarina/feat/appversion-search
...
feat(search): Expose AppVersion in search results
7 years ago
Yagnesh Mistry
441758b206
add version flag to tiller binary ( #2965 )
...
add version flag to tiller binary
* TODO comment on tiller.go
7 years ago
Matt Farina
3cba226e2d
feat(search): Expose AppVersion in search results
...
Some would like to expose and see the application version in the
search results. This change displays it.
Closes #3010
7 years ago
Alexander Lukyanchenko
3171f89e48
Add previous namespace mismatch warning
7 years ago
Matthew Fisher
1eff362941
Merge pull request #3014 from mattfarina/fix/semver-order
...
fix(semver): fixed edge cases that do not match prerelease
7 years ago
Adam Reese
13912b3cc0
Merge pull request #3008 from adamreese/ref/kube-1.8
...
ref(*): kubernetes v1.8 support
7 years ago
Taylor Thomas
ab096b883a
Merge pull request #2721 from RemingtonReackhof/secrets-support
...
feat(2196): secrets management
7 years ago
Brad Bowman
ab049ddb7b
move releaseMockWithStatus back to private
7 years ago
Brad Bowman
2bc97cfc83
Update install tests to use ReleaseMock and associates from the helm package. Also fix release names to match expected reponse values
7 years ago
Brad Bowman
14510866d5
Update cmd tests to use ReleaseMock and assocaites from the helm package
7 years ago
Adam Reese
2b43ecd405
ref(*): kubernetes v1.8 support
7 years ago
Maciej Kwiek
3d94d9cfec
Merge pull request #2769 from rocky-nupt/feature-remote-value
...
feat(helm):Allow remote values.yaml with -f
7 years ago
Justin Scott
16c579f3a3
feat(helm): Add --node-selectors and --output flags to helm init
...
This feature enables users to specify more control over where Tiller pod
lands by allowing "node-selectors" to be specified. Alternatively, the
"--output" flag will skip install and dump Tiller's raw Deployment manifest to stdout so user may alter it as they see fit (probably with a JSON manipulation tool like jq).
Closes #2299
7 years ago
Remington Reackhof
9af1018bd3
Add secrets storage backend for releases
7 years ago
Matt Farina
b27b11a280
fix(semver): fixed edge cases that do not match prerelease
...
>0.0.0-a does not match pre-releases on 0.0.0 that start with a
capital letter or number. This has to do with the ordering of
code points. Numbers and capital letters come before lowercase
letters.
>0.0.0-0 should match all valid pre-releases on 0.0.0. According
to the spec, "Numeric identifiers MUST NOT include leading zeroes."
A 0 is also the lowest code point for all the allowed characters
in a pre-release
7 years ago
Matthew Fisher
6e54d3b8ea
Merge pull request #2747 from rocky-nupt/dependencies-update-verify
...
fix(helm): Fix the bug in helm dependency update -verify
7 years ago
Maciej Kwiek
962191b929
Merge pull request #2876 from rocky-nupt/fix-search-regexp
...
Fix(helm): fix the bug of helm search --regexp
7 years ago
Neil Moore
b74f6dd769
Update install.go
7 years ago
Neil Moore
1b8ddac230
Update install.go
7 years ago
Neil Moore
b77b7dd3c7
Update install.go
7 years ago
Matthew Fisher
cf3fc21e81
Merge pull request #2898 from zlabjp/kube-version
...
feat(helm): add --kube-version flag to helm template
7 years ago
Sharno
550d350a04
Adding output for the created repos when `helm init`
7 years ago
Sam Leavens
fa40e60f7d
feat(*): add k8s version to version debug cmd
...
When 'helm version --debug' is run, this will print the kubernetes server
version as well as the helm client and server versions.
Closes #1398
7 years ago
Sam Leavens
3eeab04e0b
Revert "feat(*): add k8s version to version debug cmd"
...
This reverts commit 63be90dda5
.
7 years ago
Sam Leavens
63be90dda5
feat(*): add k8s version to version debug cmd
...
When 'helm version --debug' is run, this will print the kubernetes server
version as well as the helm client and server versions.
Closes #1398
7 years ago
Kazuki Suda
fa3ee5aecf
feat(helm): add --kube-version flag to helm template
...
This commit adds --kube-version flag to helm template. It allows you to
override the Kubernetes version used as Capabilities.KubeVersion.Major/Minor (e.g. 1.7).
7 years ago
Kazuki Suda
3508cebbf6
Use the same defaults as done in helm lint for Capabilities
7 years ago
flyer103
d55782de94
cmd/helm,docs/helm: amend default namespace of tiller
7 years ago
xuhaigang
c1cbb97348
Fix(helm): fix the bug of helm search --regexp
...
helm search cannot search for upper case by --regexp, because it
lowers all the letters when build repo index.
Closes #2865
7 years ago
Matthew Fisher
bb5db61325
Merge pull request #2781 from jascott1/i2755-template
...
feat(helm): add `template` command
7 years ago
Matt Butcher
7186fcf240
Merge pull request #2808 from ebabani/master
...
'helm upgrade --install' uses the namespace from kube config.
7 years ago
Justin Scott
4a02a71f1e
WIP feat(helm): add `template` command
...
This adds the functionality from the helm-template plugin to allow the
rendering of templates without Tiller.
Closes #2755
7 years ago
xuhaigang
c77a90a240
feat(helm):Allow remote values.yaml with -f
...
In this feature, we can use -f option with remote files, same as kubectl
accepts URLs. I add an option to send a 'get' request when read the local
file failed.
Closes #2642
7 years ago
Justin Scott
a2323f8658
Merge pull request #2818 from lichuqiang/master
...
fix typo in helm_fetch.md
7 years ago
Dmitry Shulyak
e4c5802cbc
Allow to specify socket for rudder grpc server
...
os args will be used to specify grpc server socket,
either --listen or -l can be used as an argument to rudder binary
7 years ago
Matt Butcher
a736c2a3fe
Merge pull request #2636 from technosophos/feat/2332-max-history
...
feat(tiller): limit number of versions stored per release
7 years ago
lichuqiang
ceb953c5b0
fix typo
7 years ago
Matt Butcher
04a0659b3e
Merge pull request #2809 from rocky-nupt/feature-read-from-STDIN
...
feat(helm):Support reading the values file from STDIN
7 years ago
xuhaigang
084dff477e
feat(helm):Support reading the values file from STDIN
...
We can use the command like
<pre>sed "s|foo|bar|g" values-template.yaml | helm install -f - stable/foo</pre>
This may be helpful in scripting.
Closes #2709
7 years ago
Ergin Babani
edb5be3ac5
'helm upgrade --install' uses the namespace from kube config.
...
Use the current kube config namespace by default if --namespace is not specified.
This makes 'helm upgrade --install' and 'helm install' handle namespaces
the same way.
7 years ago
Matt Butcher
0853f4906a
feat(tiller): limit number of versions stored per release
...
This adds a new configuration option to Tiller to limit the number of
records stored per release.
Tiller stores historical release information (helm history, helm
rollback). This makes it possible to set a maximum number of versions
per release.
To enable this feature, use `helm init --history-max NNN`. Note that
because of the restrictions on Deployment objects, you will have to
re-install Tiller to add a limit.
Along the way, I found an unreported bug in the Memory storage driver.
This fixes that bug and adds substantially more tests to catch
regressions.
Closes #2332
7 years ago
Maciej Kwiek
9c4bb14673
Delete old deps after chart deps are updated
...
This change changes the order of operations in
pkg/downloader.Manager.downloadAll
Old charts are moved to tmp directory which is restored in case any
dependency update fails. Otherwise tmp dir is deleted.
7 years ago
Maciej Strzelecki
e61ee5c54e
fix(helm): pass os.stdin when executing a plugin ( #2740 )
7 years ago
Baofa Fan
43ce6b57da
delete secret when helm reset ( #2715 )
...
* delete secret when helm reset
* add test
* expected 3 actions
7 years ago
xuhaigang
d84b707d1e
fix(helm): Fix the bug in helm dependency update -verify
...
Helm dependency update --verify should fail when verification fails.
Closes #2717
7 years ago
Taylor Thomas
8fc88ab626
Merge pull request #2681 from at1012/at-helm-list
...
feat(2063): Better 'helm list' visibility into state of pending upgrades
7 years ago
Adam Reese
7112a48af6
ref(helm): refactor cleanup of environment after tests run
7 years ago
Adam Reese
a29e610938
fix(helm): fix flag parsing once and for all
7 years ago
Aishwarya Thangappa
915e7023c4
Added more granular statuses
7 years ago
Aishwarya Thangappa
64bab308fb
Added unit tests
7 years ago
Aishwarya Thangappa
3d4361ca1f
Modified release_update and release_rollback
7 years ago
Taylor Thomas
564ba7ba7c
fix(dep): Fixes out of date dependency info
...
The help text for `helm dep` contained out of date info about
referring to a chart repo by name vs. URL.
7 years ago
Matt Butcher
b671888ff4
fix(helm): fix `helm get` subcommands
...
This correctly sets up the tunnel for `helm get values`, `helm get
manifest`, and `helm get hooks`.
Closes #2617
7 years ago
Adam Reese
876cbc205c
fix(helm): support HELM_HOME during plugin loading
...
closes #2630
7 years ago
Adam Reese
dd952e61f0
fix(helm): load home from flags during runtime
7 years ago
Maciej Strzelecki
46275612c3
feat(helm): add -a flag to 'helm list'
...
There's 'helm get values -a' already. I always try to use 'helm list -a'
spontaneously.
7 years ago
Justin Scott
8cac493557
Capitalize 'helm' text in init.go.
7 years ago
Steven E. Harris
24238bbe20
Merge pull request #2601 from jascott1/cap_init
...
feat(helm): Correct capitalization and punctuation for all user facing text
7 years ago
Matt Butcher
f0af7d60e7
Merge pull request #2592 from raisemarketplace/compare
...
ref(helm): consolidate vars() function
7 years ago
Justin Scott
37e5f76f9e
Capitalize 'helm' text that was missed.
7 years ago
Justin Scott
b704947d54
Fix broken tests due to "server-side" text change.
7 years ago
Justin Scott
af4c243ee3
Correct punctuation and capitalization for user facing strings.
7 years ago
Michelle Noorali
29c4709b5e
Merge pull request #2550 from michelleN/export-fake-release-client
...
ref(helm): make FakeReleaseClient public
7 years ago
Michelle Noorali
8a99a4aa6f
ref(helm): rename FakeReleaseClient -> FakeClient
7 years ago
Sushil Kumar
f476f83e83
<chart>.tgz will now be downloaded to "$HELM_HOME/cache/archive" directory ( #2558 )
...
* <chart>.tgz will now be downloaded to "$HELM_HOME/cache/archive" directory
Fixes https://github.com/kubernetes/helm/issues/2142
* Added archive location to helm init
7 years ago
Patrick Mahoney
9e62777a56
ref(helm): consolidate vars() function
7 years ago
Adam Reese
a658d24ccd
ref(tiller): refactor out cobra from tiller
7 years ago
Adam Reese
401f8bcc18
Merge pull request #2563 from adamreese/ref/code-cleanup
...
ref(helm): mix bag of syntax cleanup in cmd/helm
7 years ago
Matt Butcher
ecef026b68
Merge pull request #2545 from technosophos/feat/set-list-index
...
feat(helm): support array index format for --set.
7 years ago
Adam Reese
b671077de1
ref(helm): mix bag of syntax cleanup in cmd/helm
7 years ago
Steven E. Harris
9f9b3e8729
Use versioned API types from the client-go library ( #2524 )
...
* Use versioned API types from the client-go library
Wherever possible, use the k8s.io/client-go/kubernetes.Interface type
in favor of the client-related types from package
k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset
The latter are still required by the kubectl "reaper" types used in
the "installer" and "kube" packages.
* Accept the default deployment replica count of one
Don't bother requesting a single replica explicitly.
7 years ago
Matt Butcher
c01c7318ab
feat(helm): support array index format for --set.
...
This adds support for specifying list position with an array index using
`--set`. For example, this now works: `--set servers[0].port=8080`
7 years ago
Taylor Thomas
eb2882d750
Merge pull request #2549 from thomastaylor312/fix/broken_unit_test
...
fix(tests): Fixes broken unit test
7 years ago
Adam Reese
a98f701a62
Merge pull request #2553 from adamreese/fix/helm-home-stdout
...
fix(helm): helm home print to stdout
7 years ago
Adam Reese
985dbae2ac
fix(helm): helm home print to stdout
...
cobra prints to stderr by default
7 years ago
Michelle Noorali
70520efac4
ref(helm): make FakeReleaseClient public
...
so it can be used by other projects that
use the helm client
7 years ago
Taylor Thomas
5cfb4e8cf8
fix(tests): Fixes broken unit test
...
The new unit test was not passing an explict subcommand arg to the
root command in the unit test.
7 years ago
Matt Butcher
52a3405b1e
Merge pull request #2542 from sushilkm/issues/2128
...
Allow updating chart dependencies when packaging a chart
7 years ago
Sushil Kumar
4ddd832f35
Use download manager directly
7 years ago
Taylor Thomas
8a0e051c1d
fix(helm): Ensures tiller pod lands on a linux node
...
Without a node selector to ensure that tiller deploys on a linux node,
the tiller pod can have issues starting in a mixed cluster.
Fixes #2420
7 years ago
willise
c8b8c1e6d6
fix(helm): modify `helm repo update` help info
...
The former help info may cause misunderstanding that this command
can update content of charts existing in remote respositories while
it does pull charts' info from remote repositories.
This trivial modification leads better understanding.
7 years ago
Sushil Kumar
09bedff7d5
Allow updating chart dependencies when packaging a chart
...
Added -u flag that would cause helm dep up before running helm package
Fixes https://github.com/kubernetes/helm/issues/2128
7 years ago
Adam Reese
faf560c552
tests(helm): add unit tests for setting HELM_HOME
7 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
7 years ago
peay
0f26cc5522
Add --force to upgrade and rollback
7 years ago
Taylor Thomas
3ed1ccf5dc
Merge pull request #2481 from sushilkm/issues/2480
...
Errors out if install/upgrade fails to load-requirements
7 years ago
Sushil Kumar
f80a7aa384
Added tests for install/upgrade to test bad requirements.yaml
7 years ago
Sushil Kumar
62fa6f3d01
helm reset --force would clean a failed tiller deployment
...
- [ ] Fixes https://github.com/kubernetes/helm/issues/2441
7 years ago
Sushil Kumar
18f900e443
Errors out if install/upgrade fails to load-requirements
...
Fixes https://github.com/kubernetes/helm/issues/2480
7 years ago
Adam Reese
15254e4c5c
feat(*): add generic logging interface ( #2394 )
...
Adds a generic logging interface to importable packages.
7 years ago
Matt Butcher
4d5bffecbd
Merge pull request #2462 from michelleN/test-failures
...
fix(helm): fix itermittent release testing failures
7 years ago
Adam Reese
9832e7df96
fix(helm): fix setting home via `helm --home=HOME`
7 years ago
Michelle Noorali
19a33b3f95
fix(helm): fix itermittent release testing failures
7 years ago
Matt Butcher
28ec92355b
fix(helm): add --devel flag to allow dev releases again
...
2.4.0 stopped installing development versions by default. This allows
the user to re-enable that support by setting --devel.
Closes #2407
7 years ago
Michelle Noorali
a53c29aee7
Merge pull request #2425 from michelleN/helm-test-error-codes
...
fix(*): return non-zero exit code on test failure
7 years ago
Adam Reese
206035442e
Merge pull request #2438 from vdice/feat/init-upgrade-service-account
...
feat(cmd/helm/installer): add support for upgrading service account
7 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
7 years ago
Michelle Noorali
488ca6fdd8
fix(*): return non-zero exit code on test failure
...
* resolves #2089
7 years ago
fengyun.pan
346c82952d
Add friendly output for helm package
7 years ago
fengyun.pan
15daced241
Return err when failed to check dependencie and save chart
8 years ago
vdice
0d3f14f041
feat(cmd/helm/installer): add support for upgrading service account
8 years ago
Matt Butcher
e8aa8d3678
Merge pull request #2405 from sushilkm/linting-fixes
...
Fixed issues reported by test-style
8 years ago
Sushil Kumar
084bbfa2ba
Return error exit-code in case of error
8 years ago
Sushil Kumar
1c5aab8e78
Fixes messages for plugin remove option
...
Fixes issues/2398 - helm plugin remove does not works as expected
- [ ] plugin remove option is coded to remove multiple plugins, but instead returns error when more than one plugin is requested to be removed.
- [ ] plugin remove does not show any error/message for non-existent plugin.
8 years ago
Sushil Kumar
61c3a44dc3
Fixed issues reported by test-style
8 years ago
Matt Butcher
982bb0cd2c
Merge pull request #2079 from nebril/new-backend
...
Experimental Rudder implementation
8 years ago
Michelle Noorali
704e69fca2
Merge pull request #2375 from sushilkm/tests/repo-flag
...
Added tests for --repo flag for helm fetch command
8 years ago
Maciej Kwiek
d9f72deb0d
Add comments to exported Rudder methods
...
Added make target
Lowered docker image sizes
Updated ruder.pb.go
8 years ago
Maciej Kwiek
1c9ae5577d
Basic Rudder Delete implementation
...
Extracted delete specific code from ReleaseServer to external function
which is called from both Local and Remote ReleaseModules.
Made getVersionSet function from tiller package exported.
8 years ago
Maciej Kwiek
5937e1a214
ReleaseServer.ReleaseModule has Status method
...
Both local and remote Release module implement release status check.
8 years ago
Maciej Kwiek
52c54b09c0
Move rudder proto to different package, add release status
8 years ago
Dmitry Shulyak
3cba189f53
Define both rudder port and rudder address for different needs
8 years ago
Dmitry Shulyak
bd47b8444f
Use rollback method on ReleaseModule interface
8 years ago
Dmitry Shulyak
a883531f98
Implement upgrade for rudder
8 years ago
Maciej Kwiek
8ef9144fb1
Use helm version as rudder version
8 years ago
Maciej Kwiek
c1fcaf09ce
Experimental Rudder implementation
...
This change introduces the concept of Rudders - pluggable modules that
Tiller communicates with via grpc, which allow to decouple orchestration
logic from Tiller into separate service.
This commit consists of simple Rudder implementation which does exactly
the same thing as built in Tiller orchestrator - it creates all k8s
objects from provided manifest without orchestrating them.
--experimental-release flag is introduced to enable this behaviour.
This change allows to use the service and tiller outside of the cluster.
Following commits will add Rudder to helm deployment.
8 years ago
Michelle Noorali
9fe76d3430
chore(helm): fix go style issues in completion.go
8 years ago
Sushil Kumar
dce9d88c25
Added tests for --repo flag for helm fetch command
...
- [ ] Added tests for --repo flag on `helm fetch` command
- [ ] Also added tests for (pkg/repo).FindChartInRepoURL
8 years ago
Sushil Kumar
d13b134ffb
Implements --repo flag to commands fetch, install, inspect, upgrade
8 years ago
Matt Butcher
e66cdcd1f3
Merge pull request #2352 from technosophos/ref/getter
...
ref(getter): flatten the getter package tree
8 years ago
Michelle Noorali
3f22e407cd
Merge pull request #2365 from michelleN/feat/2224-service-account-flag
...
feat(helm): add service account flag to helm init
8 years ago
Adam Reese
c7f0edd3d2
Merge pull request #2353 from SlickNik/nm_zsh_completions
...
Add support for zsh to helm completion
8 years ago
Matt Butcher
bd02f39384
ref(getter): flatten the getter package tree
...
This flattens the getter package tree, adds tests, and changes a little
bit of the terminology to follow Go idioms. This also makes much of the
getter API private to begin with. This will give us more flexibility in
the future.
8 years ago
Michelle Noorali
64e9e47183
feat(helm): add service account flag to helm init
...
helps with half of #2224
8 years ago
Nikhil Manchanda
49e7aa854a
Add support for zsh to helm completion
...
Updated the 'helm completion' command to take in the shell
as a parameter. Currently acceptable options are 'bash' and
'zsh'. Also fixed the completions to work with zsh in a manner
similar to what kubectl does.
Also updated the docs to reflect this change.
Closes #2201
8 years ago
Matt Butcher
9a33628e4e
Merge pull request #2338 from technosophos/fix/2209-warning-to-error
...
fix(helm): return error when dependencies are missing
8 years ago
Matt Butcher
6246fa12a8
fix(helm): return error when dependencies are missing
...
This upgrades a warning to an error in cases where `requirements.yaml`
contains a requirement, but it's missing in charts/
This impacts install, upgrade, and package.
Closes #2209
8 years ago
Brian
d7ab16ad03
Merge pull request #2316 from fibonacci1729/master
...
fix(tiller): update tls client auth policy
8 years ago
fibonacci1729
d7240ff943
fix(tiller): update tls client auth policy
...
RequireAndVerifyClientCert => VerifyClientCertIfGiven
Closes #2310
8 years ago
Adam Reese
50eee83646
ref(helm): use new debug method to standardize debug output
8 years ago
Matt Butcher
5af676cda1
Merge pull request #2287 from jascott1/2222/nethost_tiller
...
feat(tiller): add --net-host flag to 'helm init'
8 years ago
Brian
17c0de49d1
Merge pull request #2291 from fibonacci1729/master
...
test(*): add tests for new tls support
8 years ago
Shane Starcher
7150fc3d9e
bug(helm) - install/upgrade/search semver constraint support
8 years ago
Justin Scott
48649fe03e
WIP feat(tiller): add --net-host flag to 'helm init'
...
When 'helm init --net-host=true' is run, Tiller will be installed with access to the host network (net=host in Docker)
Closes #2222
8 years ago
fibonacci1729
73e6399294
test(*): add tests for new tls support
...
Adds a testdata directory to hold tls certs at the root
of the project. The tests cover pkg/tlsutil, cmd/helm,
and cmd/helm/installer.
Closes #2289
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
Matt Butcher
bba0214ea1
Merge pull request #2273 from sushilkm/issues/2272
...
Exposes repository-URLs as flags on helm init command
8 years ago
Matt Butcher
0c11033fb7
Merge pull request #2171 from appscode/tiler-prom
...
Expose tiller server metrics to prometheus
8 years ago
Sushil Kumar
5431f33cb1
Exposes repository-URLs as flags on helm init command
...
Fixes issues/2272
stable-repository-url is currently hard-coded for helm init,
so if a user wants to make a different intranet repository as stable repo,
only option left is to first do an init,
followed by repo delete and repo add.
8 years ago
Taylor Thomas
d03311b45a
Merge pull request #2188 from scottrigby/chartutil-ingress-example
...
chartutil create ingress example
8 years ago
sadlil
8c81e7336a
Add prometheus monitoring for tiler
8 years ago
Matthew Fisher
43b393f617
clarify helm serve's intent
...
A lot of community members are looking at `helm serve` as a production webserver to host their
charts. There are much better solutions out there like s3, wabs or gcs for cloud storage and
nginx, haproxy or apache for DIY dedicated web servers. Steering users in the right direction
will help users make the right decision when it comes to serving their charts in production.
8 years ago
Adam Reese
0ab38a998c
Merge pull request #2248 from adamreese/ref/kube-v1.6
...
ref(*): kubernetes v1.6
8 years ago
Matt Butcher
382e2b42d6
Merge pull request #2239 from technosophos/fix/2238-duplicate-commands
...
fix(helm): remove duplicate commands
8 years ago
Adam Reese
85c41ef11a
ref(*): kubernetes v1.6
...
Rebase on kubernetes v1.6
8 years ago
Adam Reese
264ad3271e
fix(init): use ImagePullPolicy Always for canary installs
...
fixes : #2155
8 years ago
Sushil Kumar
000bf9fd1a
Added release-name to helm delete error
...
Fixes https://github.com/kubernetes/helm/issues/2251
In case a user tries to delete a non-existent release,
the error message displayed was missing release-name.
8 years ago
Sushil Kumar
72c0c1ae8b
Replaced InstallRelease with InstallReleaseFromChart in cmd/install.go
...
Fixes https://github.com/kubernetes/helm/issues/2240
`helm install` command was calling chartutil.Load twice,
once from `run` method and
another time from `client.InstallRelease` which is called from `run` method in `cmd/helm/install.go`
8 years ago
Matt Butcher
1a79c28f45
fix(helm): remove duplicate commands
...
Closes #2238
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
Brian
a8e0983362
Merge pull request #2108 from fibonacci1729/feat/tls
...
feat/tls: Support optional TLS for helm / tiller
8 years ago
kiich
85a91394aa
Merge branch 'master' into deploymentsReady-when-newRS-has-minimumReplicas
8 years ago
Matt Butcher
eb4a187df6
Merge pull request #2145 from technosophos/fix/2127-skip-refrsh-on-init
...
fix(helm): add 'skip-refresh' flag to 'helm init'
8 years ago
fibonacci1729
735f4e3d4a
feat/tls: add TLS support for helm / tiller
8 years ago
Kiichiro Okano
e3655bb142
Trigger deployment as success when new replicaSet has reached minimum you need which is number of replicas minus maxUnavailable
8 years ago
Matt Butcher
94f712ab4d
Merge pull request #2210 from seh/include-yaml-doc-boundary-markers
...
Separate manifests printed by "helm init" with YAML document boundary markers
8 years ago
Matt Butcher
daa39c2689
feat(helm): add --reuse-values flag to upgrade
...
This makes it possible to re-use the existing values on an upgrade,
merging in any new values set by `-f` or `--set`.
Closes #1876
8 years ago
Matt Butcher
ba6c55c987
fix(helm): add 'skip-refresh' flag to 'helm init'
...
This exposes the skip-refresh flag to helm init to make it possible to
initialize Helm without fetching the index.yaml of the stable repo.
This mirrors the behavior of 'helm dep up's skip-refresh flag.
Closes #2127
8 years ago
Taylor Thomas
e8f5d4deca
Merge pull request #2153 from kragniz/package-destination
...
fix(helm): add --destination flag to 'helm package'
8 years ago
Steven E. Harris
da950c5c57
Separate manifests with document boundary markers
...
In order to allow the stream emitted by "helm init --debug" to be fed
back into "kubectl create/apply -f", use YAML starting and ending
document boundary markers instead of blank lines to separate the
individual manifests.
8 years ago
David Wittman
5734c2162e
Fix identation of `helm dep` help text
...
The `repository` lines in the help text for `helm dep` were misaligned
with the rest of the dependency block.
8 years ago
Scott Rigby
c9e6c41051
Update TestCreateStarterCmd expected templates
8 years ago
Louis Taylor
a2ab1aaa09
fix(helm): add --destination flag to 'helm package'
...
This adds a flag similar to the --destination flag on 'helm fetch',
allowing control over the destination for the packaged .tgz file.
Closes #2117
8 years ago
fibonacci1729
ad614b91a5
feat: helm support for TLS
8 years ago
fibonacci1729
efe5e2744b
ref/installer: pass arguments in options struct to installer apis
8 years ago
Taylor Thomas
24eb6011b5
Merge pull request #2105 from cblecker/docs-clean-home
...
Add script to clean homedir out of docs
8 years ago
Adam Reese
a90638e4f4
Merge pull request #2102 from adamreese/fix/2098-repo-list
...
fix(helm): remove max column width for repo list
8 years ago
Matt Butcher
9ea5d6b153
Merge pull request #2082 from technosophos/fix/1829-fix-upgrade-history
...
fix(helm): fix bug when helm update can't find release 1.
8 years ago
Christoph Blecker
bd2fad1987
Add docs info to dependency.go
8 years ago
Adam Reese
3a5787335e
fix(helm): remove max column width for repo list
...
closes #2098
8 years ago
Matthew Fisher
1aee50f5db
move pkg cmd/helm/strvals to pkg/strvals
...
This is another useful package outside of cmd/helm.
8 years ago
Matt Butcher
3be8dfd818
Merge pull request #2068 from nokia/move-to-pkg
...
Fixing pkg->cmd call by moving helmpath under /pkg
8 years ago
Matt Butcher
d0c9bae9e9
fix(helm): fix bug when helm update can't find release 1.
...
If a release's v1 config map was removed, 'helm upgrade' would fail. It
was calling the wrong function to get its history. This has been fixed.
Closes #1829
8 years ago
libesz
0537b08779
helmpath goes under /pkg/helm/
8 years ago
libesz
024fc5c806
Fixing pkg->cmd call by moving helmpath under /pkg
...
When downloader package moved to under /pkg, helmpath functions got called still from it, while it is under /cmd. This commit fixes the issue by moving helmpath after the downloader to have only cmd->pkg and pkg->pkg calls.
8 years ago
Qin Wang
ee5dab9cb3
Fix helm dep list reporting wrong status
...
Version matching is used for checking status of subcharts.
closes : #2056
8 years ago
Michelle Noorali
59bb5aa1b8
Merge pull request #2028 from qwangrepos/issue-2020
...
local path repo verbose - issue #2020
8 years ago
Matt Butcher
0dda8283f1
Merge pull request #2045 from lkysow/patch-1
...
Fix typo singing -> signing
8 years ago
Matt Butcher
e74772f1ab
Merge pull request #2021 from technosophos/feat/2019-dep-up-skip-refresh
...
feat(helm): add --skip-refresh flag to 'helm dep up'
8 years ago
Luke Kysow
cbe372b8b1
Fix typo singing -> signing
8 years ago
Tao Zhou
e0596ec4c3
fix(helm): add message if release deleted successfully
...
kubernetes has explicit delete message that user can know resources being deleted for sure,
suggest also add this behavior to helm, as it is too 'quiet' for deletion operation right now.
8 years ago
Qin Wang
0bef00078c
local path repo verbose - issue #2020
...
Enable --debug flag to print debugging information when use
helm dep update --debug
closes #2020
8 years ago
Matt Butcher
de678a25e3
Merge pull request #2002 from qiujian16/1992
...
Add --url option to helm serve
8 years ago
Matt Butcher
f7b010a140
feat(helm): add --skip-refresh flag to 'helm dep up'
...
This makes it possible to do a `dep up` without refetching all of
the repositories.While it's less safe, it's useful when doing many
updates in a short period of time (such as in a CI/CD setting)
Closes #2019
8 years ago
Matt Butcher
81dbdeb108
feat(helm): allow disabling plugins
...
This adds an environment variable, HELM_NO_PLUGINS, that can disable
the plugin system from loading plugins. It provides a general way for
turning the plugin system off.
Closes #1624
8 years ago
Jian Qiu
95cdc705af
Add --url option to helm serve
...
This PR is to add --url flag for helm serve, so that
urls in index.yaml will be changed to the corresponding value.
8 years ago
Matt Butcher
4829fad3a3
fix(helm): fix broken cache paths in repositories
...
A regression was committed during 2.2.0 that broke the repositories.yaml
file format, switching the cache path from relative to absolute. This
fixes the error.
Closes #1974
8 years ago
Taylor Thomas
8dfea91056
Merge pull request #1923 from qwangrepos/local-path
...
feat(helm): add local path support for deps in requirements.yaml
8 years ago
Vaughn Dice
4a57b01a47
feat(helm): add cleanup flag to test command
8 years ago
Qin Wang
d72ff65325
feat(helm): add local path support for deps in requirements.yaml
...
The following commands:
helm dep update
helm dep build
are now able to take a requirements.yaml with dependency charts' repo defined as:
file://../local/path or file:///root/path
closes : #1884
8 years ago
Matt Butcher
eadd830d01
Merge pull request #1940 from wilkers-steve/fix/miss_dep_warning
...
fix(helm): add warnings for missing chart dependencies
8 years ago
Matt Butcher
5618afe3d4
Merge pull request #1922 from larryrensing/feat/list-namespaces
...
feat(*): add --namespace flag to 'helm list'
8 years ago
wilkers-steve
91e820320f
Merge branch 'master' into fix/miss_dep_warning
8 years ago
Steve Wilkerson
98310a915f
fix(helm): add warnings for missing chart dependencies
...
When 'helm install', 'helm package', and 'helm upgrade' are run,
Helm will not issue any warnings if any dependencies listed in
a chart's requirements.yaml file are missing. This change includes
warnings when a chart is found in requirements.yaml but isn't
in charts/.
Closes #1567
8 years ago
Matt Butcher
5d6aeac613
Merge pull request #1938 from nokia/move-to-pkg
...
Fixes #1898 : Proposal: move downloader and resolver package to /pkg
8 years ago
Adam Reese
0f461ba8b5
feat(kube): use jsonpatch to update ThirdPartyResources
8 years ago
Gergo Huszty
a32f71c735
Merge branch 'master' of https://github.com/kubernetes/helm into move-to-pkg
8 years ago
Gergo Huszty
17c9e220b0
Fixes #1898 : Proposal: move downloader and resolver package to /pkg
8 years ago
Larry Rensing
294d18d567
Merge remote-tracking branch 'upstream/master' into feat/list-namespaces
8 years ago
Larry Rensing
8cb931925e
Merge remote-tracking branch 'upstream/master' into feat/list-namespaces
8 years ago
Matt Butcher
ed7bb41973
Merge pull request #1928 from vdice/add-last-test-suite-run-to-status
...
feat(cmd/helm/status): add last test suite run to status output
8 years ago
Taylor Thomas
977ceb9b5f
Merge pull request #1882 from bacongobbler/1712-portforwarder
...
move newTillerPortForwarder to pkg/helm/portforwarder
8 years ago
Matt Butcher
67eb017bd0
Merge pull request #1913 from technosophos/fix/1864-delete-old-deps
...
fix(helm): delete outdated deps
8 years ago
Vaughn Dice
140caa081b
feat(cmd/helm/status): add last test suite run to status output
8 years ago
Michelle Noorali
c7e2d186a5
Merge pull request #1777 from michelleN/feat/1163-chart-testing
...
feat(*): add helm test initial framework
8 years ago
Matt Butcher
257f12095f
fix(helm): fix broken unit test
...
I recently added a test to check the sorting of search results.
Unfortunately, the test didn't actually sort the results (_sigh_), so
it was failing occasionally on map ordering.
This adds the sort function that is supposed to be tested.
Closes #1925
8 years ago
Larry Rensing
3a380923f4
feat(*): add --namespace flag to 'helm list'
...
Users can now specify a namespace filter for 'helm list'. Only the
releases within the specified namespace will be shown. For example,
'helm list --namespace foo' will only show releases for the 'foo'
namespace. Also added a namespace field to the table view.
Closes #1563
8 years ago
Michelle Noorali
538e8297ef
ref(*): add namespace info to failing test msg
...
* also cleanup comments
8 years ago
Lachlan Evenson
ff7d3394f6
(bugfix/cmd/helm/history): update history table MaxColWidth to match that of
...
list command
8 years ago
Adam Reese
377639c803
Merge pull request #1907 from adamreese/ref/proto-cleanup
...
ref(hapi): remove never used proto field
8 years ago
Matt Butcher
91da555c85
fix(helm): delete outdated deps
...
This fixes a bug in 'helm dep up' which left old versions of a
dependency after an update.
Closes #1864
8 years ago
Matt Butcher
e7fc7a4efa
Merge pull request #1849 from iamzhout/master
...
fix(helm) add missing manifest header for `helm init --dry-run --debug`
8 years ago
Adam Reese
fd210dfd30
ref(hapi): remove never used proto field
8 years ago
Matt Butcher
33ccd6b2c9
Merge pull request #1855 from technosophos/fix/1845-dep-up-failure
...
fix(helm): fix 'helm dep up' to fetch by URL
8 years ago
Matthew Fisher
704bc47225
move newTillerPortForwarder to pkg/helm/portforwarder
8 years ago
Michelle Noorali
e95a0570ad
chore(pkg/releasetesting): add test_suite tests
...
* and comments
8 years ago
Matt Butcher
f018364f91
fix(helm): fix sort order on helm search
...
During search index construction, records were not correctly sorted by
version number, which resulted in the wrong records being inserted into
the index.
Along the way, added tests and fixed a few comments.
Closes #1897
8 years ago
Matt Butcher
adc18e2463
fix(helm): fix 'helm dep up' to fetch by URL
...
A regression was introduced which required chart download URLs have the
same URL prefix as the chart repo that referenced them. A second
regression transformed that URL into a request for the latest version of
that chart, sidestepping semver constraints.
This fix closes both issues, which were present in the same function.
Closes #1845
Closes #1846
8 years ago
Michelle Noorali
e132191275
ref(pkg/): refactor helm test logic
...
pulled logic out in pkg/releasetesting
8 years ago
Vaughn Dice
9bd12953a9
feat(*): add kube client test
...
* for WaitAndGetCompletedPodPhase
8 years ago
Michelle Noorali
58c05f87d7
feat(*): stream helm test messages to client
8 years ago
Michelle Noorali
d46d63a8f7
feat(*): add helm test command mvp
...
* This is a simple mvp which processes a test definition with the
hook annotation for test when you run `helm test [release]`
* helm client cmd, proto def, tiller logic
8 years ago
Matt Butcher
756cb970bd
feat(tiller): record a message for each lifecycle step
...
This adds a simple description for each lifecycle step on a release
object.
Closes #1661
8 years ago
Adam Reese
d97f44e3a0
feat(tiller): print tiller version on startup
8 years ago
Ferran Rodenas
074d746c95
Add reset command to uninstall Tiller
8 years ago
Taylor Thomas
e440a36d95
Merge pull request #1820 from thomastaylor312/feat/add_wait
...
feat(*): Add --wait flag
8 years ago
Manjunath A Kumatagi
851ca79cc2
Fix SIGSEGV fault
8 years ago
Matt Butcher
4a69e0c776
Merge pull request #1842 from bacongobbler/install-from-chart
...
add InstallReleaseFromChart and UpdateReleaseFromChart
8 years ago
Matthew Fisher
dad40fcbe0
add InstallReleaseFromChart and UpdateReleaseFromChart
...
When using pkg/helm as a third party client, I am using chartutil.LoadArchive()
to load a chart from an io.Reader. After that is loaded I wish to install/update that
chart, however InstallRelease and UpdateRelease only accepts a path rather than
something of type *chart.Chart. This adds a new function called InstallReleaseFromChart
which allows one to load a chart separate from the path, then install said chart.
8 years ago
Ferran Rodenas
cc0f460033
Fake tillerHost at version cmd tests
...
Version cmd tries to set up a tunnel at RunE instead of using the
PersistentPreRunE. That means that for each version test (3) it
tries to set up the tunnel. When running the tests on an internetless
or whithout a valid k8s environment, the tunnel will fail with a
timeout of 20 seconds, meaning that it will take 60 seconds to
run the test.
This commit adds a fake tillerHost so it will not try to setup the
tunnel.
8 years ago
z00358552
b6b1459b90
fix(helm) add missing manifest header for helm init --dry-run --debug
8 years ago
Taylor Thomas
7ef9bb6f71
feat(*): Add --wait flag
...
Adds `--wait` flag to helm that waits for all pods to reach a ready
state, PVCs to be bound, and services to have IP addresses
Closes #1805
8 years ago
Matt Butcher
9652651ba9
Merge pull request #1814 from technosophos/feat/1569-reset-values
...
feat(helm): add --reset-values flag to 'helm upgrade'
8 years ago
Christoph Blecker
5b2cf3930b
Fix type in help text for list cmd
8 years ago
Ferran Rodenas
d90a3a2260
Create a Service definition for using Tiller in-cluster
8 years ago
Ferran Rodenas
bd4fc39950
Allow specifying --set multiple times
8 years ago
Matt Butcher
c32b2ddcdf
feat(helm): add --reset-values flag to 'helm upgrade'
...
The --reset-values flag on upgrade instructs Tiller to reset the
upgraded release to the chart's built-in values.yaml, and ignore the
last install's overridden values.
Closes #1569
8 years ago
Matt Butcher
6d6e88a86e
Merge pull request #1766 from gravitational/http-client-tls
...
Http client with TLS
8 years ago
Anton Galitsyn
f8a261f277
use old naming
8 years ago
Anton Galitsyn
685e730ba8
create repo.Getter interface
8 years ago
Anton Galitsyn
8a1d43ec3f
check the error that WriteFile returns
8 years ago
Anton Galitsyn
e3f39f30bf
rename URLAreEqual func
8 years ago
Adam Reese
76b3d1e1e2
fix(tests): fix testclient reactions that were not triggering
8 years ago
Adam Reese
a2543f87aa
Merge pull request #1784 from adamreese/ref/code-cleanup
...
ref(*): remove dead code
8 years ago
Adam Reese
f763c88fe4
Merge pull request #1786 from mortenlj/master
...
Add `--upgrade` option to `init`. Fixes #1782 .
8 years ago
Adam Reese
6f023b324c
Merge pull request #1789 from adamreese/fix/tiller-ns-envar
...
fix(tiller): s/POD_NAMESPACE/TILLER_NAMESPACE/
8 years ago
Adam Reese
b666b3ddeb
fix(tiller): s/POD_NAMESPACE/TILLER_NAMESPACE/
8 years ago
Matt Butcher
7c6153f418
Merge pull request #1788 from nebril/helm-status-align
...
Align output of helm status resources output
8 years ago
Maciej Kwiek
075a9d8e5d
Align output of helm status resources output
...
text/tabwriter is used to align resource list in columns
8 years ago
Maciej Kwiek
0a9413beef
Improve `helm status` help text
...
`helm status -h` now shows what kind of information is displayed when
running `helm status`
8 years ago
Morten Lied Johansen
eeaacc4a07
Add `--upgrade` option to `init`
...
When option is given, any existing Tiller will be upgraded to the current version
8 years ago
Adam Reese
4418b1a20d
ref(*): remove dead code
...
RIP
8 years ago
Anton Galitsyn
a82c19b91a
fix rebase problems
8 years ago
Anton Galitsyn
89ab7555db
Get http.Client from referenced repository
8 years ago
Anton Galitsyn
b0e7a43b5b
Construct http.Client for repositories from config, add TLS support
8 years ago
Matt Butcher
e451f79bc2
Merge pull request #1706 from technosophos/feat/1480-version-flag
...
feat(1480): add --version flag to package command
8 years ago
Adam Reese
4398255f09
fix(tests): fix broken tests for upgrade
8 years ago
Matt Butcher
b51ad7a0e5
Merge pull request #1693 from thomastaylor312/feat/hook-timeout
...
feat(*): Adds support for timeout flag
8 years ago
Matt Butcher
22c1b979af
Merge pull request #1729 from technosophos/fix/1708-rollback-help
...
fix(helm): fix rollback documentation
8 years ago
Adam Reese
1c3bada618
feat(helm): standardize debug output for releases
8 years ago
Matt Butcher
a23672744e
fix(helm): fix rollback documentation
8 years ago
Adam Reese
934249aadf
feat(helm): add release debugging for upgrade
8 years ago
Adam Reese
967d1e85fa
Merge pull request #1709 from adamreese/fix/tiller-plugin-ns
...
fix(helm): add tiller-host to plugin environment
8 years ago
Taylor Thomas
774789c79a
feat(*): Adds support for timeout flag
...
Installs, rollback, upgrade, and delete now accept a `--timeout` flag
that allows the user to specify the maximum number of seconds that
any kubernetes command can take.
Closes #1678
8 years ago
Matt Butcher
af58b8eff9
feat(1480): add --version flag to package command
...
This adds a `helm package --version=SEMVER` param that allows users to
set a version during a package operation.
Closes #1480
Closes #1699
8 years ago
Adam Reese
5e66002e21
Merge pull request #1725 from adamreese/ref/subcommands
...
ref(helm): only pass required dependencies to subcommands
8 years ago
Adam Reese
9aa467e317
ref(helm): only pass required dependencies to subcommands
8 years ago
Matthew Fisher
d9346e2fb9
test(cmd): add unit test for chart backed by basic auth
...
This verifies that by adding user information in the chart repo URL
via `helm repo add`, it will be attached to the request when downloading
the chart tarball and provenance file.
8 years ago
Adam Reese
5961cc44b3
fix(helm): fix persistent flags not being parsed
8 years ago
Adam Reese
8a2516fcc1
fix(helm): add tiller-host to plugin environment
8 years ago
Adam Reese
08143b6ee4
Merge pull request #1705 from adamreese/feat/1654-parsable-version
...
feat(helm): add short version output
8 years ago
Matt Butcher
4fb62cfff9
Merge pull request #1703 from nmakhotkin/rename_restart
...
Rename '--restart' option to '--recreate-pods'
8 years ago
Adam Reese
c51334235a
feat(helm): add short version output
...
add `--short` flag to version
8 years ago
Nikolay Mahotkin
c2d45805f3
Renaming --recreate to --recreate-pods
8 years ago
Nikolay Mahotkin
24b17f8041
Rename '--restart' option to '--recreate'
8 years ago
Matt Butcher
ff9651be75
Merge pull request #1648 from nmakhotkin/restarting_pods
...
Adding pod restart during release upgrade/rollback
8 years ago
Nikolay Mahotkin
1eaec045b2
Rename 'restart' to 'recreate'
8 years ago
Adam Reese
84928e2751
feat(*): allow tiller to be installed in an alternate namespace
...
Adds `--tiller-namespace` flag and `TILLER_NAMESPACE` envvar
to use tiller in an alternate namespace.
closes #1418
8 years ago
Matt Butcher
40396d6799
Merge pull request #1685 from technosophos/fix/1574-fetch-output
...
fix(helm): suprress info message for 'helm inspect'
8 years ago
Matt Butcher
fc9cb126e5
fix(helm): suprress info message for 'helm inspect'
...
There was an informational message being printed that is unnecessary,
but prevented shell scripting the results of inspect calls.
Closes #1574
8 years ago
Nikolay Mahotkin
ec0d104fe1
Reformatting changes
...
* Run gofmt on all changed files
so they formatted properly now
8 years ago
Nikolay Mahotkin
fdac5e8a39
Introducing flag for restarting pods during release upgrade/rollback
...
* Added pod restart for ReplicaSet
* Added --restart flag for helm CLI for upgrade/rollback commands
* By default, restart is false
8 years ago
rodcloutier
710ff78bc4
feat(helm) add command to generate bash autocompletions.
8 years ago