Adam Reese
77a1b7e0a2
ref(*): expose klog flags
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
b49db9e6e6
ref(pkg/chartutil): break up chartutil into logical files
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Torsten Walter
24578a6411
support --output-dir option for helm3 template
...
Signed-off-by: Torsten Walter <mail@torstenwalter.de>
6 years ago
Adam Reese
0338576fc5
ref(pkg/kube): cleanup kube client interface
...
* move the main interface to it's own file
* removed summarizeKeptManifests() which was the last place kube.Get()
was called
* when polling for hooks, use external types
* refactor out legacyschema
* refactor detecting selectors from object
* refactor creating test client
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Matthew Fisher
31667b6050
Merge pull request #5717 from jdolitsky/feat-v3/oci-registry-loglevel
...
Helm 3: pass debug option to registry client
6 years ago
Matthew Fisher
757eb88d6c
Merge pull request #5441 from hickeyma/update-lib-charts
...
feat(*): Add capability for application charts to be used as library charts
6 years ago
Josh Dolitsky
5f1128b5f7
pass debug option to registry client
...
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
6 years ago
Adam Reese
b960dea497
fix(cmd/helm): set 300s as default on timeout flags
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
8d1590016c
Merge pull request #5646 from adamreese/v3/kube-wait
...
ref(pkg/kube): extract wait logic from install/update
6 years ago
Adam Reese
b7a14de590
Merge pull request #5601 from adamreese/v3/capabilities
...
ref(pkg/chartutil): remove k8s version object dependency
6 years ago
Adam Reese
b97f881be0
ref(*): use time.Duration for timeouts
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
097834de0a
ref(pkg/chartutil): remove k8s version object dependency
...
Flattens the `.Capabilities` built-in and removes useless kubernetes
runtime metadata.
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Matt Farina
2a06c2baba
Merge pull request #5684 from mattfarina/add-app-version
...
Add app version
6 years ago
Adam Reese
2dd4744d23
ref(pkg/kube): extract wait logic from install/update
...
This change adds a new method for waiting for kubernetes resources.
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
b8bced2649
fix(pkg/action): load clients after flags have been parsed ( #5681 )
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Matt Farina
250b63eced
Updating the labels for consistency
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
6 years ago
Luis Davim
82ffe56ca6
Reduce template code duplication. Fixes #5372
...
Signed-off-by: Luis Davim <luis.davim@jet.com>
6 years ago
Luis Davim
4425f86865
Add app.kubernetes.io/version label
...
Signed-off-by: Luis Davim <luis.davim@jet.com>
6 years ago
Matt Farina
af7eab0325
Updating to the k8s label convention
...
Closes #4335
Signed-off-by: Matt Farina <matt@mattfarina.com>
6 years ago
Josh Dolitsky
a12a396aab
Helm 3: registry login/logout ( #5597 )
...
* login/logout placeholders
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
* use latest oras
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
* use docker auth system
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
* working login+push
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
* working on tests
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
* fix typo in htpasswd
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
* rename credsfile to config.json
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
* add flags for username/password
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
* disable logout test broken on linux
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
* upgrade to oras 0.4.0
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
* re-enable logout test
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
* panic for uncaught errors
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
* move login/logout to new registry subcommand
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
6 years ago
Martin Hickey
dc7a3a4ca3
Fix test data
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
7 years ago
Martin Hickey
b74fee715e
Add capability for application charts to be used as library charts
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
7 years ago
Matthew Fisher
b1ae1acc8b
Merge pull request #5283 from bacongobbler/purge-by-default
...
ref(uninstall): purge release history by default
7 years ago
Martin Hickey
1915358a21
Merge pull request #5538 from hickeyma/add-app-version
...
feat(*): Add app version to history table
7 years ago
Ian Howell
ffff0e8c33
Feat/schema validation ( #5350 )
...
* Add the Schema type and a function to read it
* Added a function to read a schema from a file
* Check that values.yaml matches schema
This commit uses the gojsonschema package to validate a values.yaml file
against a corresponding values.schema.yaml file.
* Add functionality to generate a schema from a values.yaml
* Add Schema to Chart and loader
* Clean up implementation in chartutil
* Add tests for helm install with schema
* Add schema validation to helm lint
* Clean up "matchSchema"
* Modify error output
* Add documentation
* Fix a linter issue
* Fix a test that broke during a rebase
* Clean up documentation
* Specify JSONSchema spec
Since JSONSchema is still in a draft state as of this commit, we need to
specify a particular version of the JSONSchema spec
* Switch to using builtin functionality for file extensions
* Switch to using a third-party library for JSON conversion
* Use the constants from the gojsonschema package
* Updates to unit tests
* Minor change to avoid string cast
* Remove JSON Schema generation
* Change Schema type from map[string]interface{} to []byte
* Convert all Schema YAML to JSON
* Fix some tests that were broken by a rebase
* Fix up YAML/JSON conversions
* This checks subcharts for schema validation
The final coalesced values for a given chart will be validated against
that chart's schema, as well as any dependent subchart's schema
* Add unit tests for ValidateAgainstSchema
* Remove nonessential test files
* Remove a misleading unit test
The TestReadSchema unit test was simply testing the ReadValues function,
which is already being validated in the TestReadValues unit test
* Update documentation to reflect changes to subchart schemas
7 years ago
Michelle Noorali
3dd1765491
Merge pull request #5631 from michelleN/test-run
...
add helm test run
7 years ago
Michelle Noorali
ceab13e9a1
fix test command, move test to test run subcmd
...
Signed-off-by: Michelle Noorali <michellemolu@gmail.com>
7 years ago
Martin Hickey
b72e25cfb9
Change header "APP_VERSION" to "APP VERSION"
...
Update following review comment:
- https://github.com/helm/helm/pull/5538#pullrequestreview-221803355
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
7 years ago
Martin Hickey
b600f6090e
Add app version to history table
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
7 years ago
Matthew Fisher
d3f0ac9343
ref(create): app version should be 0.1.0
...
When creating a Helm chart for the first time, the assumption should be that the app version is also 0.1.0, implying this is for a new application.
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Adam Reese
658c66dc66
Merge pull request #5560 from adamreese/v3/chart-validate
...
ref(pkg/chart): add validation method to chart
7 years ago
Michelle Noorali
0d08044776
fix multi uninstall bug
...
Signed-off-by: Michelle Noorali <michellemolu@gmail.com>
7 years ago
Adam Reese
e458a67f0c
ref(pkg/chart): add validation method to chart
...
Consolidate validation of Chart.yaml.
Signed-off-by: Adam Reese <adam@reese.io>
7 years ago
Abhilash Gnan
7d3f85998b
update list tests expected output files
...
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
7 years ago
Abhilash Gnan
f7e2a78374
fix test cases for list.AllNamespaces
...
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
7 years ago
Abhilash Gnan
f4c2b02cef
remove unnecessary setting of list.All flag
...
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
7 years ago
Abhilash Gnan
537872526b
add more releases to list tests
...
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
7 years ago
Abhilash Gnan
20c4d29295
fix docs for helm list
...
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
7 years ago
Abhilash Gnan
05523b5d84
fix test cases for sort list with options
...
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
7 years ago
Abhilash Gnan
d3c85f97c2
fix sort list with options bug
...
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
7 years ago
Matthew Fisher
0805a87140
ref(uninstall): purge release history by default
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Matthew Fisher
0b1caa14a7
Merge pull request #5489 from bacongobbler/list-move-namespaces-field
...
ref(list): move namespaces field closer to the name
7 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>
7 years ago
Adam Reese
271e4cf111
fix(cmd/template): allow setting release name for template
...
Signed-off-by: Adam Reese <adam@reese.io>
7 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>
7 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`
7 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>
7 years ago
Adam Reese
895e9192d4
feat(*): use vanity import helm.sh/helm
...
Signed-off-by: Adam Reese <adam@reese.io>
7 years ago
Matthew Fisher
1707a8a870
style(cmd): go fmt
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Matthew Fisher
3bcc3a91de
ref(cmd): remove mockTestSuccessTemplate
...
unused code
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Matthew Fisher
f8ed917830
test(cmd): refactor release_testing_test.go
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Matthew Fisher
f185103b60
ref(action): move AddFlags functions back to cmd
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Matthew Fisher
2b775d693d
ref(action): remove io.Writers, return string instead
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Matthew Fisher
6bb9264e89
fix(helm): fix `helm status` output formatting
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Matthew Fisher
2571dbf82f
ref: remove pkg/helm, pkg/hapi, pkg/tiller
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Adam Reese
de1cbf2ad3
Merge pull request #5419 from adamreese/v3/completion
...
fix(cmd/helm): cherry-pick completion fix for zsh completion
7 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
)
7 years ago
Peter Stalman
8e45b0565c
Fixes #5046 , zsh completion ( #5072 )
...
Signed-off-by: Peter Stalman <sarkedev@gmail.com>
(cherry picked from commit 4c1edcf049
)
7 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
)
7 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>
7 years ago
Matthew Fisher
2a82e6cbe6
docs: s,kubernetes/helm,helm/helm,g ( #5404 )
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 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>
7 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>
7 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>
7 years ago
Adam Reese
e51a9b90c9
Merge pull request #5284 from adamreese/v3/make-format
...
feat(Makefile): add formatting target
7 years ago
Martin Hickey
45fb4b1c44
Fix linter warnings
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
7 years ago
Adam Reese
f791421fab
feat(Makefile): add formatting target
...
Signed-off-by: Adam Reese <adam@reese.io>
7 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>
7 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)
7 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>
7 years ago
Adam Reese
28d8c7b277
ref(*): remove references to chart 'engine'
...
Signed-off-by: Adam Reese <adam@reese.io>
7 years ago
Matthew Fisher
95c865513f
fix appveyor builds ( #4934 )
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 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
7 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>
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
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
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
2b81eea1e2
ref(*): replace byte array with map for Release config
...
Signed-off-by: Adam Reese <adam@reese.io>
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
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
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
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
3be0d81da7
ref(driver): refactor out function type errors
...
Signed-off-by: Adam Reese <adam@reese.io>
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
f7a7a157ce
ref(*): merge requirement.yaml into Chart.yaml
...
Signed-off-by: Adam Reese <adam@reese.io>
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
4f26b658d8
change copyright to "Copyright The Helm Authors"
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
7423eddf21
ref(*): kubernetes v1.11 support
7 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.
7 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.
7 years ago
Adam Reese
0653ff7635
ref(cmd): dry up values and chartpath flag options
7 years ago
Adam Reese
1d2f40c801
ref(cmd): test template cmd using golden files
7 years ago
Adam Reese
4cc3498608
ref(cmd): refactor argument validation
7 years ago
Adam Reese
a02a598c33
ref(tests): simplify cmd test setup/teardown
...
Ensure proper cleanup of `HELM_HOME` and `HELM_DEBUG`
7 years ago
Adam Reese
726e3c41be
feat(*): print stacktrace on error with debug enabled
7 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
8 years ago
Adam Reese
3b9596c6ab
ref(*): convert const types to strings
8 years ago
Adam Reese
a5b7cde9e5
ref(cmd): simplify cmd test setup
8 years ago
Adam Reese
c50813af54
ref(*): remove local repository (dead code)
8 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
8 years ago
Adam Reese
341e6f4f45
feat(cmd): add --all-namespaces to list
8 years ago
Adam Reese
1a508ccdd1
ref(*): move kubeconfig flags to helm/environment
8 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
8 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
8 years ago
Adam Reese
29e772f631
ref(*): replace TillerVersion with HelmVersion
8 years ago
Adam Reese
4c95185164
ref(*): replace chart.config with []byte
8 years ago
Adam Reese
c5151fb7b3
ref(*): cleanup timestamps in tests
8 years ago
Adam Reese
c5a76deba3
ref(*): use go conventions for naming types
8 years ago
Adam Reese
36536d77ba
ref(*): remove protobuf any type
8 years ago
Adam Reese
91a6ebfed5
ref(*): remove protobuf timestamps
8 years ago
Adam Reese
6345f04190
ref(hapi): convert protobuf to go types
8 years ago
Adam Reese
a78aff8d39
ref(*): improve initializing helm clients
8 years ago
Adam Reese
68c0b6a24a
ref(proto): remove unused protobufs
8 years ago
Adam Reese
7f6fa70a91
ref(*): remove grpc
8 years ago
Adam Reese
358746fee6
ref(*): remove HELM_HOST
8 years ago
Adam Reese
fc4c095cf0
ref(*): remove pkg/kubernetes from tiller and storage
8 years ago
Adam Reese
496ca54183
ref(*): bypass grpc for helm client
8 years ago
Adam Reese
a6f0d1360d
fixup! ref(cmd,pkg/helm): remove server side version
8 years ago
Adam Reese
5715ee43d6
ref(*): bypass grpc when invoking helm list
...
TODO reimplement any paging
8 years ago
Adam Reese
30a049d12e
ref(cmd): remove deprecated command
8 years ago
Adam Reese
61a9003a97
ref(cmd/tiller): delete main tiller package
8 years ago
Adam Reese
9409adfa8d
ref(cmd): remove reset and init tiller commands
8 years ago
Adam Reese
6bca9686a1
ref(pkg/helm): allow ReleaseContent to call storage directly
8 years ago
Adam Reese
d52faff7b6
ref(cmd,pkg/helm): remove tiller ping
8 years ago
Adam Reese
1d9c3d4651
ref(cmd,pkg/helm): remove server side version
8 years ago
Adam Reese
e909258fe8
remove rudder build infra
8 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
8 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
8 years ago
Matthew Fisher
8981575082
Merge pull request #3715 from bacongobbler/fix-get-manifest
...
fix `helm get manifest` context deadline exceeded error
8 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>
8 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.
8 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'
8 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
8 years ago
Michelle Noorali
e922a873bc
ref(cmd/upgrade): update reuse-values flag descrip
...
helps clarify behavior. See #3655
8 years ago
Matthew Fisher
a8023979ec
Merge pull request #3830 from michelleN/prettyError
...
ref(cmd/helm): show grpc error msg from prettyError
8 years ago
Michelle Noorali
499636d70c
ref(cmd/helm): show grpc error msg from prettyError
8 years ago
Ryan Hartje
9b20d91e42
using existing mechanism to flag for failures
8 years ago
Taylor Thomas
3ba2a00982
Merge pull request #3784 from jkoleszar/tiller-rbac
...
Fix tiller deployment on RBAC clusters
8 years ago
Taylor Thomas
9654c616c2
Merge pull request #3813 from usabilla/merge-values
...
Removes unnecessary if block
8 years ago
Matthew Fisher
c52707fb26
import client auth plugins
8 years ago
Gijs Kunze
458ba8ce37
Removes unnecessary if block
8 years ago
Brian
58e4b6ac61
Merge pull request #3782 from fibonacci1729/master
...
stream releases when listing
8 years ago
Arash Deshmeh
ea7c3fefc8
fix(helm) refactor release_testing unit tests to utilize runReleaseCases
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
8 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>
8 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 .
8 years ago
Ryan Hartje
343acc5a60
return a non 0 exit code when lint fails due to missing Chart.yaml
8 years ago
fibonacci1729
2dd9b34d28
stream releases when listing
8 years ago
Matthew Fisher
793cda8aa0
Merge pull request #3730 from helgi/feature/gh-3682
...
Create index.yaml if missing when running repo index --merge
8 years ago
Matthew Fisher
282984e75f
Merge pull request #3716 from lestrrat/master
...
Add actionable message in the error
8 years ago
Helgi Þorbjörnsson
141e015590
Create index.yaml if missing when running repo index --merge
...
Fixes #3682
8 years ago
Arturo Contreras
a615f80c92
Adding --set-string flag to force string values.
8 years ago
Eyal Ben Moshe
b6335b7dfe
Authentication support for remote charts repositories ( #3206 )
...
Authentication support for remote charts repositories.
8 years ago
Adam Reese
19c73207b2
Merge pull request #3717 from adamreese/fix/history-output
...
fix(helm): fix helm history unit tests
8 years ago
Andrii Soldatenko
08f450404b
Fixed typo
8 years ago
Adam Reese
34b6d12ebe
fix(helm): fix helm history unit tests
...
fixes #3652
8 years ago
Matthew Fisher
87f66af061
Merge pull request #3652 from rajatjindal/history-format
...
add support for output format in json or yaml
8 years ago
Daisuke Maki
afed555572
Add actionable message in the error
...
See #3697
8 years ago
Matthew Fisher
87c64e7987
fix `helm get manifest` context deadline exceeded error
8 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
8 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
8 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
8 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>
8 years ago
Arash Deshmeh
b66c10df10
fix(helm): remove duplication in tests of repo-add command
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
8 years ago
Matthew Fisher
6de9ebccbc
fix windows path issues on `helm template -x`
8 years ago
Arash Deshmeh
1e4770248c
fix(helm): refactor search command tests to remove duplication
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
8 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>
8 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>
8 years ago
Rajat Jindal
333341425a
update documentation as per review feedback
8 years ago
Florian Zysset
3625241025
feat(helm): inspect readme
8 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
8 years ago
Arash Deshmeh
23b570fabd
fix(helm): refactor helm version command tests to remove duplication
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
8 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
8 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>
8 years ago
Rajat Jindal
c93ff32f52
make table explicitly default
8 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>
8 years ago
Rajat Jindal
46ed802750
add support for output format in json or yaml
8 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
8 years ago
Taylor Thomas
cb12dbba97
Merge pull request #3595 from Stelminator/relative-home-path-part1
...
Relative home path part1
8 years ago
Matthew Fisher
a66a39a171
fix helm init --wait
8 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>
8 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
8 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>
8 years ago
Morgan Parry
d848990122
fix(helm): Don't crash in search if upper case chars are encountered.
...
Closes #3088
8 years ago
Yaroslav Molochko
2f252e9524
Add --replicas option for HA fixes #2334
8 years ago
Christopher A. Stelma
dc7e465705
pass home down through createLink
8 years ago
Ryan Payton
81e09ff14c
updating DownloadIndexFile function call to pass in HELM_HOME
8 years ago
James Munnelly
829fe51f1e
Add link to securing helm docs in 'helm init' text
8 years ago
Justin Scott
420be49522
Merge pull request #3475 from jascott1/3394_reset
...
fix(helm): update helm reset --force tip for clarity
8 years ago