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
8 years ago
peay
0f26cc5522
Add --force to upgrade and rollback
8 years ago
Taylor Thomas
3ed1ccf5dc
Merge pull request #2481 from sushilkm/issues/2480
...
Errors out if install/upgrade fails to load-requirements
8 years ago
Sushil Kumar
f80a7aa384
Added tests for install/upgrade to test bad requirements.yaml
8 years ago
Sushil Kumar
62fa6f3d01
helm reset --force would clean a failed tiller deployment
...
- [ ] Fixes https://github.com/kubernetes/helm/issues/2441
8 years ago
Sushil Kumar
18f900e443
Errors out if install/upgrade fails to load-requirements
...
Fixes https://github.com/kubernetes/helm/issues/2480
8 years ago
Adam Reese
15254e4c5c
feat(*): add generic logging interface ( #2394 )
...
Adds a generic logging interface to importable packages.
8 years ago
Matt Butcher
4d5bffecbd
Merge pull request #2462 from michelleN/test-failures
...
fix(helm): fix itermittent release testing failures
8 years ago
Adam Reese
9832e7df96
fix(helm): fix setting home via `helm --home=HOME`
8 years ago
Michelle Noorali
19a33b3f95
fix(helm): fix itermittent release testing failures
8 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
8 years ago
Michelle Noorali
a53c29aee7
Merge pull request #2425 from michelleN/helm-test-error-codes
...
fix(*): return non-zero exit code on test failure
8 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
8 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
8 years ago
Michelle Noorali
488ca6fdd8
fix(*): return non-zero exit code on test failure
...
* resolves #2089
8 years ago
fengyun.pan
346c82952d
Add friendly output for helm package
8 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
Matt Butcher
b08434aa3a
Merge pull request #1640 from technosophos/fix/1511-undeleting
...
fix(*): add support for "DELETING" status
8 years ago
Matt Butcher
55b83f3aec
Merge pull request #1656 from thomastaylor312/feat/multiple-values
...
feat(helm): add support for multiple values files
8 years ago
Matt Butcher
936028f29a
fix(*): add support for "DELETING" status
...
Closes #1511
8 years ago
Adam Reese
d82a2cefaa
Merge pull request #1673 from ahawkins/patch-1
...
Set Helm deployment to pull IfNotPresent
8 years ago
Vaughn Dice
4dd77e7749
feat(helm): add newline to fetch --verify output
8 years ago
Adam Reese
7f44c116a1
ref(tiller): refactor clientset out of environment
8 years ago
Adam Reese
ea3be9e3b2
feat(*): migrate to kubernetes 1.5
8 years ago
Adam Hawkins
989e59f5ba
Set Helm deployment to pull IfNotPresent
...
Helm uses fixed tags (e.g. `v2.0.2`) so there should be no need to pull a new image every time.
8 years ago
Michelle Noorali
f5778539b0
Merge pull request #1652 from michelleN/feat/1326-helm-keep
...
feat(tiller): add support for resource-policy keep
8 years ago
Taylor Thomas
1a1d84ce4c
feat(helm): add support for multiple values files
...
You can now specify the `-f` flag multiple times to include multiple
values files. The priority will be given to the last (right-most)
file specified.
Closes #1620
8 years ago
Adam Reese
0c6b6d1c62
fix(*): correct file permissions on source files
8 years ago
Michelle Noorali
e3480c76e6
feat(tiller): add support for resource-policy keep
...
satisfies #1326
8 years ago
Matt Butcher
54a1549eae
Merge pull request #1642 from technosophos/fix/rename_stat_vars
...
Fix Go style issues.
8 years ago
Matt Butcher
8ca1391fe8
Fix Go style issues.
8 years ago
Adam Reese
68ff4e7b2f
Merge pull request #1636 from adamreese/fix/grpc-max-size
...
fix(tiller): increase the max message size for grpc
8 years ago
Matt Butcher
69e50abc6c
Merge pull request #1628 from rodcloutier/Windows_chart_creation_support
...
test(*): fix Windows tests
8 years ago
Matt Butcher
59396392f9
Merge pull request #1627 from mortenlj/master
...
Increase column width when listing releases
8 years ago
Matt Butcher
f90d08969e
Merge pull request #1602 from technosophos/feat/fetch-prov
...
feat(helm): add 'helm fetch --prov' to fetch prov info
8 years ago
Matt Butcher
6f891ea863
Merge pull request #1633 from technosophos/fix/1631-fix-values
...
fix(helm): fix broken --values flag
8 years ago
Adam Reese
1f01bf51e7
fix(tiller): increase the max message size for grpc
...
Increases the default message size from 4MB to 10MB.
8 years ago
Rodrigue Cloutier
f3b205c6ef
fix(*): fixed tests for Windows
8 years ago
Matt Butcher
aec6c50708
Merge pull request #1621 from technosophos/fix/tests-for-plugins
...
fi(helm): add more tests for plugins
8 years ago
Matt Butcher
cba094f352
fix(helm): fix broken --values flag
...
This fixes the 'helm upgrade --values', which I broke when fixing
'--set'.
Closes #1631
8 years ago
Morten Lied Johansen
7cec48c8e1
Increase column width when listing releases
8 years ago
Matt Butcher
f9b37957d9
fix(helm): fix prompt error on Windows build
...
This backs out an earlier change that removed an int type assertion.
8 years ago
Matt Butcher
2460bd8ce4
Merge pull request #1619 from technosophos/fix/convert-plugin-format-on-tests
...
fix(hel): fix plugin format on tests
8 years ago
Matt Butcher
a5d818dc4a
fi(helm): add more tests for plugins
...
This adds tests for setupEnv, and also updates some documentation to
mirror the current state of plugins.
8 years ago
Matt Butcher
ac628a82cf
Merge pull request #1610 from technosophos/fix/1609-plugin-command-panic
...
fix(helm): handle errors when plugin command is not found
8 years ago
Adam Reese
914dbe8bc0
Merge pull request #1614 from adamreese/fix/linter-issues
...
fix(*): misc linter issues
8 years ago
Adam Reese
69a95f32ed
Merge pull request #1613 from adamreese/fix/1612-list-output-formatting
...
fix(helm): add missing line ending on list output
8 years ago
Matt Butcher
bedb32eec8
Merge pull request #1607 from fiunchinho/feature/repo_url_trailing_slash
...
Feature/repo url trailing slash
8 years ago
Matt Butcher
a9f3de84e1
fix(hel): fix plugin format on tests
...
Test plugins were in the original format. Updated to current format and
fixed the tests to stop silently ignoring the broken test.
8 years ago
Adam Reese
803475c824
fix(*): misc linter issues
8 years ago
Adam Reese
6050a4bcfe
fix(helm): add missing line ending on list output
8 years ago
Matt Butcher
dcc2bc598a
fix(helm): handle errors when plugin command is not found
...
If a 'command:' is not found for a plugin, it will not result in an
ExitError, but in a PathError. This prevents that condition from
panicing.
Closes #1609
8 years ago
José Armesto
4bc0f81676
Remove trailing slash when comparing dependency url with repo url
8 years ago
José Armesto
c340c04e21
Remove trailing slash (if any) from repo url
8 years ago
Matt Butcher
18248e5530
feat(helm): add 'helm fetch --prov' to fetch prov info
...
Previously, there was no way to get provenance data unless you were
verifying it. This allows `fetch` to get the provenance data, but not
perform any verification. Adding this will allow external plugins
to perform verification against other sources, like Keybase.
8 years ago
Matt Butcher
ba7910082a
fix(helm): add no-hooks to upgrade
...
Mark disable-hooks as deprecated.
Closes #1575
8 years ago
Matt Butcher
e097e1b724
Merge pull request #1599 from technosophos/fix/1590-pass-no-hooks-to-server
...
fix(helm): pass the no-hooks flag during upgrade
8 years ago
Matt Butcher
3b4d7164cc
Merge pull request #1603 from technosophos/fix/1588-url-mismatch
...
fix(helm): improve URL comparison logic
8 years ago
Matt Butcher
a59604f40a
fix(helm): improve URL comparison logic
...
Normalize URLs before comparing them. This deviates slightly from the
URL spec, but in order to accomodate the predominant use pattern for
Helm. Specifically, './', '../', and '/' are all "interpreted" to be
filepath-like.
Closes #1588
8 years ago
Matt Butcher
2c326895b7
fix(helm): fix doc string for ErrNotList
...
This just moves a var declaration to the top of a file and then properly
documents it.
8 years ago
Matt Butcher
5f3d255ecd
fix(helm): pass the no-hooks flag during upgrade
...
Helm upgrades were not passing the no-hooks value to the server.
Closes #1590
8 years ago
Matt Butcher
7a15ad381e
Merge pull request #1484 from technosophos/feat/documentation-generator
...
feat(helm): add command to generate documentation
8 years ago
Matt Butcher
a3a0261c02
Merge pull request #1573 from technosophos/feat/plugins
...
feat(helm): add plugin system backend
8 years ago
Matt Butcher
aca9f86df6
feat(helm): add command to generate documentation
...
This adds a hidden 'helm doc' command that generates documentation out
of the Helm help text.
Currently it can create:
- man pages for HELM(1)
- Markdown documentation
- bash autocompletions
Those are the three built-ins for Cobra.
The command is hidden so that it doesn't show up to the regular user,
since this is really a specialized task. It has the advantage of making
it trivially easy to install man pages and bash completion at installation time.
8 years ago
Matt Butcher
a081e27598
Merge pull request #1576 from technosophos/feat/set-parser
...
fix(helm): improve --set parser
8 years ago
Serge Catudal
702b6fb53b
fix(helm): fix windows support with port forward connection in setupConnection
...
This fixes the port forward connection using helm on windows by assigning explicitely 'localhost' to 'TillerHost' in 'setupConnection'. Otherwise, the connection between the helm client with the Tiller server deployed on Kubernetes will not work.
8 years ago
Matt Butcher
fad755e7ae
feat(helm): add plugin system backend
...
This adds a backend for a plugin system.
Closes #1572
8 years ago