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
Ian Howell
278594fb0f
fix(pkg/engine): Style changes on template errors
...
Signed-off-by: Ian Howell <ian.howell0@gmail.com>
7 years ago
Ian Howell
92b86f6e74
fix(pkg/engine): Catch non-templating errors when rendering templates
...
Signed-off-by: Ian Howell <ian.howell0@gmail.com>
7 years ago
Ian Howell
33b1ede570
fix(pkg/engine): Clean up template error messages
...
Signed-off-by: Ian Howell <ian.howell0@gmail.com>
7 years ago
Abhilash Gnan
d40f3c63ea
fix ByDate sorter to use Time.Unix()
...
Signed-off-by: Abhilash Gnan <abhilashgnan@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
f7e2a78374
fix test cases for list.AllNamespaces
...
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
7 years ago
Abhilash Gnan
f019ec0e8d
add superseded to list filter mask
...
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
7 years ago
Abhilash Gnan
416667a8e9
Remove redundant ByNameAsc enum value. Handled by default sorting
...
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
7 years ago
Abhilash Gnan
b9a39e46de
handle default list sort order through enum order
...
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
Adam Reese
31819e4796
fix(pkg/chartutil): marshal capabilities VersionSet into slice
...
Marshal capabilities VersionSet into readable value.
Signed-off-by: Adam Reese <adam@reese.io>
7 years ago
Adam Reese
87e789f01f
fix(pkg/chartutil): only include external objects in capabilities
...
Signed-off-by: Adam Reese <adam@reese.io>
7 years ago
Adam Reese
fe06343b8f
Merge pull request #5512 from adamreese/v3/linter-fixes
...
ref(pkg/action): refactoring dup code and linter fixes
7 years ago
Adam Reese
295092cd7d
ref(pkg/action): refactoring dup code and linter fixes
...
Signed-off-by: Adam Reese <adam@reese.io>
7 years ago
Matthew Fisher
bb179bdead
chore(dep): bump kubernetes to 1.14.0
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.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
779373a276
Merge pull request #5472 from adamreese/v3/template-name
...
fix(cmd/template): allow setting release name for template
7 years ago
Sunyk
223148dac9
Remove a trivial TODO comment
...
Signed-off-by: Sunyk <lentil1016@gmail.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
14d8e97d2a
fix(*): resolve new govet issues
...
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
017790d0e3
ref(action): remove ParseShowOutputFormat
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
7 years ago
Matthew Fisher
78bd46075b
fix(action): remove test.go
...
test.go is a duplicate of release_testing.go
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
21d3a40f3b
feat(tests): replace gometalinter with golangci-lint
...
Signed-off-by: Adam Reese <adam@reese.io>
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
Adam Reese
d841a1b1d9
fix(engine): make template rendering thread safe
...
See https://github.com/helm/helm/pull/4828
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
Josh Dolitsky
16b59bfe5b
Helm 3: fix "latest" tag bug ( #5279 )
...
* add extra ref parsing, validation
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
* add fix for missing locator
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
* add repo and tag fields for clarity
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
* small refector
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
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
f3bfae5ea7
fix: fix a number of style errors ( #5136 )
...
This fixes a dozen or so style errors, almost all of which were just missing comments.
I left several which are fixed in other outstanding PRs, or which belong to code that is about to be removed.
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
7 years ago
Matt Butcher
425f7a6f6c
feat: add 'pkg/action' for list operations ( #5077 )
...
* feat: add pkg/action to encapsulate action logic
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
* feat: replace client/server internals with action package
While we removed Tiller, we left the internal client/server architecture mostly intact. This replaces that architecture with the `pkg/action` package.
This implements the action package for list, but nothing else.
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
* feat: Add install and refactor some tests
This adds install to the action package, and then fixes up a lot of testing.
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
* fix: Move a bunch of sorters to the releaseutils package
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
* fix: updated APIs and fixed a failed test
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
* Use var for timestamper, instead of adding as a struct field
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
7 years ago
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
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
Adam Reese
9e1e26f01e
ref(pkg/chartutil): attempt to make requirements processing readable
...
Signed-off-by: Adam Reese <adam@reese.io>
7 years ago
Adam Reese
f5b6ff2832
ref(pkg/chart): rename files to be consistent with types
...
Signed-off-by: Adam Reese <adam@reese.io>
7 years ago
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
Adam Reese
3b0ba0f71e
ref(tests): remove broken symlinks in testdata
...
Signed-off-by: Adam Reese <adam@reese.io>
7 years ago
Adam Reese
b4ed1de6b8
ref(*): kubernetes v1.12 support
...
Signed-off-by: Adam Reese <adam@reese.io>
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.
8 years ago
Adam Reese
a02a598c33
ref(tests): simplify cmd test setup/teardown
...
Ensure proper cleanup of `HELM_HOME` and `HELM_DEBUG`
8 years ago
Adam Reese
b1128abf4f
ref(*): s/tiller/helm/
8 years ago
Adam Reese
726e3c41be
feat(*): print stacktrace on error with debug enabled
8 years ago
Adam Reese
75c4df0b56
ref(tests): use golden files for testing command output
8 years ago
Adam Reese
36e034551f
ref(*): rebuild build version object
8 years ago
Adam Reese
03ea683b9a
ref(pkg/tiller): add flag to enable tilling logging in tests
...
`go test ./pkg/tiller -test.log`
8 years ago
Adam Reese
3b9596c6ab
ref(*): convert const types to strings
8 years ago
Adam Reese
c50813af54
ref(*): remove local repository (dead code)
8 years ago
Adam Reese
3c27143291
fix(kube): output internal object table
...
fixes #3937
8 years ago
Adam Reese
1a508ccdd1
ref(*): move kubeconfig flags to helm/environment
8 years ago
Adam Reese
2a97768b5c
ref(pkg/tiller): flatten package structure for storage
8 years ago
Adam Reese
05da851eb9
fix(hapi): typo in struct json tags
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
c19a4ec704
fix(tests): fix race in releasetesting test
8 years ago
Adam Reese
9aa398a7c5
chore(hapi): add missing license headers
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
1e2e65ce54
ref(pkg/releasetesting): simplify test setup
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
c233336079
ref(pkg/kube): simplify creating versioned objects
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
883371b8ce
ref(pkg/tiller): simplify exported methods
8 years ago
Adam Reese
7f6fa70a91
ref(*): remove grpc
8 years ago
Adam Reese
8f58c9efdc
ref(*): refactor release testing
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
e9478d8f84
ref(pkg/tiller): remove ReleaseModules interface from tiller
8 years ago
Adam Reese
5715ee43d6
ref(*): bypass grpc when invoking helm list
...
TODO reimplement any paging
8 years ago
Adam Reese
62804848c6
ref(pkg/tiller): refactor out imports of pkg/helm
8 years ago
Adam Reese
dbf1ed0ba4
ref(pkg/helm): cleanup unused code
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
Matthew Fisher
28d87e1780
Merge pull request #3860 from adshmh/refactor-tiller-release-install-unit-tests-using-stubs
...
refactor tiller release install unit tests using chart and install request stubs
8 years ago
Matthew Fisher
6f02d9e412
Merge pull request #3837 from consideRatio/toYaml-pr
...
toYaml - Fix #3470 and #3410's trailing \n issues
8 years ago
eyalbe4
fa62c476fc
Basic auth credentials from repo not used in install/upgrade/fetch commands #3858
8 years ago
Arash Deshmeh
c22492ff01
fix(helm): refactor tiller release install unit tests using chart and install request stubs
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
8 years ago
Matthew Fisher
ae7ce6cad4
Merge pull request #3842 from AdamDang/patch-1
...
Fix some typos
8 years ago
AdamDang
ee9ef91df0
typo fix get->Get's
...
typo fix get->Get's
8 years ago
Nikhil Manchanda
b687e9e879
Merge pull request #3709 from adshmh/fix-output-leak-of-tiller-release-install-test
...
fix output leak from tiller release install test
8 years ago
Taylor Thomas
2a86164c1d
Merge pull request #3829 from stuartleeks/set-rollback-failure
...
Fix: Failed rollback left in PENDING_ROLLBACK state
8 years ago
Steffen Windoffer
8bd42d2645
remove unused servicePort from default ingress template
8 years ago
AdamDang
138de17c64
Fix some typos
...
outout->output
Get's->get
the the->the
8 years ago
Erik Sundell
05a1f7f46c
Updated tests for PR #3837
8 years ago
Erik Sundell
6cdf6cee56
toYaml - Fixes #3470 - trailing \n issue
...
`toYaml` was introducing a new line. It is an issue since the new line is part of a functions output, it can't be whitespace chomped away so it would require a `trimSuffix "\n"` pipe. This commit trims one trailing `\n` from the toYaml output.
8 years ago
Erik Sundell
35132d141c
toYaml - Fixes #3410 - trailing \n issue
...
`toYaml` utilized by `.Files` was introducing a new line. It is an issue since the new line is part of a functions output, it can't be whitespace chomped away so it would require a `trimSuffix "\n"` pipe. This commit trims one trailing `\n` from the toYaml output.
8 years ago
Michelle Noorali
72d54f356d
Merge pull request #3831 from michelleN/fix-3655
...
fix(pkg/tiller): saves all previous computed values on reuseValues
8 years ago
Michelle Noorali
e02802ba95
ref(pkg/tiller): clarify reuseValues comment
8 years ago
Michelle Noorali
9266731dc4
fix(pkg/tiller): reuseValues combines all prev val
...
Resolves #3655
We were seeing that when running helm upgrade with the reuse-values
flag enabled that you could end up in the position where overrides
a.k.a computed values from previous revisions were not being saved on
the updated revision. This left us in a weird position where some
computed values would disappear mysteriously in the abyss. That
happened because computed values from previous revisions weren't merged
with the new computed values every time the reuse-values flag was used.
This PR merges computed values from the previous revisions so you don't
end up in that kind of conundrum.
8 years ago
Stuart Leeks
bac4f45f94
Switch flag to update existing record
8 years ago
Zack Williams
1d3ae54185
Fix #3822
8 years ago
Matthew Fisher
e794c48c3a
Merge pull request #3540 from flant/hook_recreate_delete_policy
...
Implement before-hook-creation delete policy
8 years ago
Timofey Kirillov
b7fe0d0bd7
Add hook-delete-policy ReleaseServer unit tests
...
Cover hook-succeeded, hook-failed and before-hook-creation hook delete policies.
8 years ago
fibonacci1729
ad99c1b749
release list paritioning
8 years ago
fibonacci1729
2dd9b34d28
stream releases when listing
8 years ago
Adam Reese
c574e03ed4
Merge pull request #3721 from adamreese/ref/kube-1.10
...
ref(*): kubernetes v1.10 support
8 years ago
adshmh
1a55161a53
Fix several golint warnings ( #3756 )
...
* fix(helm): fix golint warning due to ApiVersionV1 constant name
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
* fix(helm): fix golint warning due to ResolveChartVersionAndGetRepo comment
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
* fix(helm): fix golint warnings on HttpGetter type and SetCredentials method missing a comment
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
* fix(helm):fix golint warning due to comment on FindChartInAuthRepoURL function
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
* fix(helm): fix golint warning due to RepoFile type name
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
* fix(helm): fix golint warning due to ParseString comment
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
8 years ago
Adam Reese
7c19cb7040
ref(*): kubernetes v1.10 support
8 years ago
Matthew Fisher
850c8714a7
Merge pull request #3661 from bacongobbler/fix-default-connection-timeout
...
add back the default 5 second connection timeout
8 years ago
Alexey igrychev
1d4883bf3c
Implement before-hook-creation delete policy
...
Existing helm.sh/hook-delete-policy annotation variables (hook-failed, hook-succeeded) do not allow to leave failed jobs for debugging without blocking the next job launching: every failed job must be deleted manually before the next related release is launching (installing, updating or rolling back).
New policy, before-hook-creation, removes the hook from previous release if there is one before the new hook is launched and can be used with another variable.
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
Arash Deshmeh
a43ddcc191
fix output leak from tiller release install test
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
8 years ago
Taylor Thomas
dede3ff1e1
Merge pull request #3645 from scriptonist/Issue3290
...
Recover from a tiller pod crash caused due to errors in values.yaml
8 years ago
scriptonist
5311bf40a8
Now returning error and stopping installation
8 years ago
Matthew Fisher
3014b9277f
add back the default 5 second connection timeout
...
When Helm v2.8.2 was released, we made a change to the default connection timeout by supplying a value passed from pkg/helm/environment. This broke support for third party clients relying on pkg/helm because now the default connection timeout is zero. Adding a default 5 second timeout back retains old behaviour, while not breaking backwards compatibility because the connection timeout can still be configured.
8 years ago
Taylor Thomas
2c51155724
Merge pull request #3646 from nicdoye/master
...
Accept .yml files as well as .yaml for templates.
8 years ago
Taylor Thomas
c5f2174f26
Merge pull request #3640 from rajatjindal/docfix
...
fix typo in docs and fake
8 years ago
Taylor Thomas
f19daa16c2
Merge pull request #3631 from gburton1/addProxyCapability
...
Respect http proxy settings when using custom Transport
8 years ago
Matthew Fisher
abe958eb87
Merge pull request #3597 from bacongobbler/upgrade-force-replace
...
replace FAILED deployments with `helm upgrade --install --force`
8 years ago
Nic Doye
73017d7e88
Accept .yml files as well as .yaml for templates.
...
See https://github.com/helm/helm-classic/pull/306 for helm classic
and
https://kubernetes.slack.com/archives/C51E88VDG/p1520588964000061
8 years ago
scriptonist
6cfaa4ebf2
Added code to recover from a tiller pod crash in an event of template render failure
8 years ago
Rajat Jindal
92972b0353
fix typo in docs and fake
8 years ago
Matthew Fisher
13730b0dab
replace FAILED deployments with `helm upgrade --install --force`
...
When using `helm upgrade --install`, if the first release fails, Helm will respond with an error saying that it cannot upgrade from an unknown state.
With this feature, `helm upgrade --install --force` automates the same process as `helm delete && helm install --replace`. It will mark the previous release as DELETED, delete any existing resources inside Kubernetes, then replace it as if it was a fresh install. It will then mark the FAILED release as SUPERSEDED.
8 years ago
Matthew Fisher
250d25fdce
fix protoc
...
k8s.io/kubernetes bumped protobuf to 1643683e1b54a9e88ad26d98f81400c8c9d9f4f9
8 years ago
Matthew Fisher
a66a39a171
fix helm init --wait
8 years ago
Greg Burton
bf7e755ef3
Respect env proxy settings when using custom Transport
8 years ago
Matthew Fisher
b5af54d44c
Merge pull request #3567 from jumal/master
...
Create missing directories when saving files in chartutil.SaveDir
8 years ago
Matthew Fisher
86ae040bfa
Merge pull request #3491 from oilbeater/fix-defer-in-loop
...
defer in loop may cause resource leak
8 years ago
Johnny Bergström
5f1a21bc32
fix(tiller): Supersede multiple deployments ( #3539 )
...
* add test for rolling back from a FAILED deployment
* Update naming of release variables
Use same naming as the rest of the file.
* Update rollback test
- Add logging
- Verify other release names not changed
* fix(tiller): Supersede multiple deployments
There are cases when multiple revisions of a release has been
marked with DEPLOYED status. This makes sure any previous deployment
will be set to SUPERSEDED when doing rollbacks.
Closes #2941 #3513 #3275
8 years ago
Matthew Fisher
9c4fd1abae
Merge pull request #3527 from adshmh/fix-output-leak-from-realsetesting-test-suite
...
Fix the output leak to stdout during build by tests under pkg/releasetesting
8 years ago
Matthew Fisher
1a9e0f0d15
Merge pull request #3535 from adshmh/fix-output-leak-from-pkg-tiller-tests
...
fix the output leak from test code under pkg/tiller
8 years ago
Matthew Fisher
642ad5c13e
Merge pull request #3544 from radu-matei/patch-1
...
Fix minor typo
8 years ago
Matthew Fisher
be1e974ccc
Merge pull request #3494 from Thiht/patch-1
...
docs: Fix FromJson comment
8 years ago
Matthew Fisher
e35bd82170
Merge pull request #3514 from joonix/issue-3512
...
Bump client side grpc max msg size
8 years ago
Adam Reese
fa611fe285
fix(plugins): support installing plugins by relative path ( #3568 )
...
Support installing plugins by relative path
```
helm plugins install .
```
8 years ago
Adam Reese
c314e2e2f1
fix(plugins): support newer git ( #3571 )
...
Newer gits don't like checking out an empty string.
```
empty string is not a valid pathspec. please use . instead if you meant to match all paths
```
8 years ago
Jean-Philippe Courson
5b77335415
Create missing directories when saving files in chartutil.SaveDir
8 years ago
Radu Matei
df041c4b19
Fix minor typo
8 years ago
Arash Deshmeh
5b25eef9e2
fix(helm): fix the bug in test code under pkg/tiller that leaks output to stdout during build
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
8 years ago
Johnny Bergström
9bac0a4c30
Update deprecated grpc dial timeout
...
The docs say: use DialContext instead.
8 years ago
Johnny Bergström
98e5006ecf
Bump client side grpc max msg size
...
Set it to match the server side, or the default limit
of 4MB will still apply when upgrading charts.
Fixes #3512
8 years ago
Arash Deshmeh
4fcf69bc52
fix(helm): fix the output leak to stdout during build by tests under pkg/releasetesting,
...
by redirecting output from mock clients.
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
8 years ago
yank1
76a40fc573
fix a typo in client
8 years ago
Thibaut Rousseau
a59d212512
docs: Fix FromJson comment
8 years ago
oilbeater
757db3a062
defer in loop may cause resource leak
8 years ago
Matthew Fisher
8009115d3a
Merge pull request #3465 from oilbeater/fix/defer-in-loop
...
defer in loop may cause resource leak
8 years ago
oilbeater
0764d95a03
defer in loop may cause resource leak
...
defer statement executes only when function return, and the resource still be hold during loop. Release the resource manually when not needed.
8 years ago
Matt Farina
6a1dd806ed
Merge pull request #3469 from mattfarina/fix/3322
...
fix(grpc): Fixes issue where message sending limited to 4mb
8 years ago
Matthew Fisher
3c39e72189
Merge pull request #3401 from bacongobbler/revert-kubeconfig-flag
...
Revert "feat(helm): adding kubeconfig flag"
8 years ago
Matt Farina
614cd9dfe7
fix(grpc): Fixes issue where message sending limited to 4mb
...
Between grpc 1.2.x and 1.7.x there was an API change. The
previous MaxMsgSize is now a wrapper around MaxRecvMsgSize. This
change now sets the MaxRecvMsgSize and MaxSendMsgSize which need
to be set independently.
8 years ago
Matt Farina
e6137ff05f
fix(api-machinery): Fixes patching for unstructured objects
...
CRDs and other objects seen as unstructured cannot use strategic
merge patching. It has never been supported on CRDs. Previously,
cases like unstructured objects could have caused an unregistered
error. This is no longer the case.
This change explicitly looks for unstructured objects and handles
those using json merge patching.
Closes #3382
8 years ago
Matthew Fisher
2724387506
Merge pull request #3373 from unguiculus/feature/fix-recreate-part-1
...
Fix pod recreation
8 years ago
Matt Farina
4b578f44ff
Merge pull request #3407 from paolomainardi/feature/3173_fix_wait_for_deployments
...
refs #3173 : add appsv1beta1 and appsv1beta2 apiVersion
8 years ago
Paolo Mainardi
b065ffe1fc
adding other missing apiVersions
8 years ago
Paolo Mainardi
2cee4c68fa
add appsv1beta1 and appsv1beta2 apiVersion
8 years ago
Reinhard Nägele
ea520afd3e
Fix 'getSelectorFromObject'
8 years ago
Matthew Fisher
748dbda29a
Merge pull request #3399 from bacongobbler/fix-release-checklist
...
Fix release checklist
8 years ago
Bin Liu
1e0906ed67
Fix type
8 years ago
Matthew Fisher
f13c4d28b5
Revert "feat(helm): adding kubeconfig flag"
...
This reverts commit 371ff8f26d
.
8 years ago
Matthew Fisher
8604e0b832
bump version to v2.8
...
also add it to the release checklist.
8 years ago
Reinhard Nägele
3d05da0109
Fix pod recreation
8 years ago
Matthew Fisher
14c7be1f92
Merge pull request #3288 from bradbeam/starter
...
feat Making starter templates more versatile
8 years ago
Matt Farina
c359ea66ed
Merge pull request #3350 from mattfarina/fix/3349
...
fix(capabilities): Adding GitVersion to default set
8 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>
8 years ago
Adnan Abdulhussein
f432b8ec60
Merge pull request #3337 from unguiculus/feature/helm-create
...
Update initial chart experience
8 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
8 years ago
Matthew Fisher
077be881c4
Merge pull request #3283 from nicolerenee/concurrency
...
feat(pkg/helm): allow concurrent requests on a shared client
8 years ago
Reinhard Nägele
f47e1619b0
Update initial chart experience
...
* Add template for chart name
* Use named ports and simplify service configuration
* Add affinity
* Add tolerations
* Use 'with' statements where possible
* Enhance ingress
* Add fullnameOverride to fullname template
8 years ago
Matthew Fisher
f652f45398
Merge pull request #2784 from rocky-nupt/proposal-add-k8s-version
...
feat(tiller/proto):Allow charts to specify k8s compatibility
8 years ago
Matthew Fisher
e1027fae73
refactor symWalk() into pkg/sympath ( #3199 )
...
* refactor symWalk() into pkg/sympath
* add Go copyright
* remove dead code
8 years ago