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
Matt Butcher
6a1aab7fc8
fix(helm): improve --set parser
...
This replaces the old set parser with a brand new one. This also changes
the internal algorithm from duplicating YAML to merging YAML, which
might solve a problem one user reported in chat, but which was never
captured in an issue.
Closes #1540
Closes #1556
8 years ago
Matt Butcher
5517d00a48
Merge pull request #1547 from technosophos/feat/packs
...
feat(helm): support 'helm create --starter=mypack'
8 years ago
Matt Butcher
784a339627
feat(helm): support 'helm create --pack=mypack'
...
This adds support for packs, pre-configured chart patterns that can be
used to quickly create a custom layout for your new chart.
8 years ago
Matt Butcher
e77d564b88
Merge pull request #1555 from kmala/dep
...
fix(requirements): accept semver constraints for the versions in the requirements.yaml
8 years ago
Adam Reese
51bdad4275
chore(*): bump to v2.0.0
8 years ago
Keerthan Reddy Mala (kmala)
6c6530c1b6
fix(requirements): accept semver constraints for the versions in the requirements.yaml
8 years ago
Adam Reese
ae88a01a40
Merge pull request #1552 from adamreese/feat/detailed-log
...
feat(tiller): add source file to log entries
8 years ago
Adam Reese
8740d3eb7f
feat(tiller): add source file to log entries
8 years ago
Matt Farina
da73150ce9
fix(tls): download helm and charts over https
...
Downloading of charts and helm itself happened over http. This
change moves to use https as that is available with valid certs.
8 years ago
Matt Farina
7a79661f0e
feat(charts): Move bucket to domain from path
...
A bucket name in the path can be migrated to a custom k8s domain
name. This is in preperation for that.
8 years ago
Adam Reese
d59f66fc9e
fix(*): fix new linter errors
8 years ago
adieu
c0850efeb5
Separate tiller into pkg and cmd so we can use tiller as a library.
8 years ago
Matt Butcher
6b222cdc0f
Merge pull request #1490 from technosophos/fix/1488-shorter-errors
...
fix(1488): suppress gRPC logs and errors
8 years ago
Matt Butcher
32354be03b
fix(1488): suppress gRPC logs and errors
...
If gRPC fails to make a connection, the result is a log message and a
verbose error. This suppresses log output and replaces the error with a
much more succinct one.
Closes #1488
8 years ago
Jim
057e4efe42
fix(helm): fix tests if tmp directory is on another block device
...
Two non-exported helper functions were added to the repo index test
file. They first try to link the file, since this is optimal. If the
link fails a copy occurs.
Fixes #1472
8 years ago
Matt Butcher
95d346644a
Merge pull request #1466 from technosophos/fix/1439-err-on-failed-download
...
fix(helm): fail when helm deps are not fetched
8 years ago
Brian
87e7e54e80
Merge pull request #1456 from fibonacci1729/feat/998
...
feat(998): append to history on install --replace
8 years ago
Matt Butcher
5dfbf7e3cb
fix(helm): fail when helm deps are not fetched
...
This changes the behavior of the bulk downloader to fail as soon as it
encounters a dependency that it cannot fetch.
Closes #1439
8 years ago
Matt Butcher
9ae97c341c
fix(helm): read passphrase from prompt
...
This prompts the user to enter a passphrase if the given PGP key is
encrypted.
Closes #1447
8 years ago
fibonacci1729
5262e1e85a
feat(998): append to history on install --replace
8 years ago
Michelle Noorali
7b58f21cc8
Merge pull request #1451 from michelleN/set-types
...
fix(helm): correctly convert types on --set flag
8 years ago
Michelle Noorali
c62ff7eaee
fix(helm): correctly convert types on --set flag
...
fixes #1449
8 years ago
Matt Butcher
f5be296f0c
Merge pull request #1454 from technosophos/fix/1428-dont-update-unchanged-lock
...
fix(helm): skip overwriting the lock if it hasn't changed
8 years ago
Matt Butcher
819ec44215
fix(helm): skip overwriting the lock if it hasn't changed
...
'helm dep up' will only overwrite the lock file if the digest has
changed (e.g. the source requirements.yaml is different).
Closes #1438
8 years ago
Matt Butcher
dce2079b44
fix(helm): create index file as 'helm serve' starts up.
...
When 'helm serve' is run, this now generates an index.yaml file. Before,
that file was maintained externally, often manually.
Closes #793
Partially addresses #1404
8 years ago
Matt Butcher
a34472d18e
Merge pull request #1452 from poopoothegorilla/fix/helm-upgrade-wording
...
docs(helm): update grammar for upgrade command help
8 years ago
Matt Butcher
3bf1770aaa
fix(helm): use --client and --server as flags
...
This changes from --client-only and --server-only to --client and
--server. With this change, if no flags are specified, all info is
shown. If one flag is specified, only its info is shown.
8 years ago
Jim
765c1cb009
docs(helm): update grammar for upgrade command help
...
Fixes #1443
8 years ago
Matt Butcher
ff52399e51
fix(helm): add support for local version only
...
This modifies 'helm version' to allow for local-only or server-only
versions to avoid cases where calling 'helm version' was resulting in
errors.
Closes #1440
8 years ago
Matt Butcher
054613c041
Merge pull request #1434 from technosophos/fix/1430-missing-linefeed
...
fix(helm): add line feed between --values and --set data
8 years ago
Adnan Abdulhussein
ebeaaf75e3
Merge pull request #1435 from prydonius/fix-notes
...
fix(tiller): correct path to NOTES.txt template
8 years ago
Matt Butcher
03b855c812
Merge pull request #1433 from poopoothegorilla/fix/cmd-arg-length
...
fix(helm): add check for argument length for inspection subcommands
8 years ago
Adnan Abdulhussein
f97dbe33da
fix(tests): prefix template names with "templates/"
8 years ago
Adnan Abdulhussein
d19dd9f3cf
fix(tiller): correct path to NOTES.txt template
8 years ago
Jim
6e72351451
fix(helm): clarify that the Chart destination is still needed for
...
subcommands
8 years ago
Matt Butcher
973ed17030
fix(helm): add line feed between --values and --set data
...
Currently, --set simply appends data to the end of the existing values
YAML data. If a values file does not have a line feed at the end, the
set data is mis-appended. This fixes the issue by inserting a linefeed
between the --values data and --set data.
Closes #1430
8 years ago
Matt Butcher
768f88dab7
Merge pull request #1426 from technosophos/fix/1417-init-dry-run
...
fix(helm): add dry-run flag for init
8 years ago
Jim
6eb0cbb77f
fix(helm): add check for argument length for inspection subcommands
...
Fixes #1429
8 years ago
Matt Butcher
4b7e4b71bd
fix(helm): use 127.0.0.1 instead of localhost
...
This switches the local chart repo to use 127.0.0.1 instead of localhost
so that the net library does not negotiate localhost to an IPv6 address,
which is known to cause issues in some Docker containers.
Breaking Change: When testing on a system that does NOT have IPv4
configured, this will break 'helm serve'. We estimate this will impact
none of the current user base.
Closes #1410
8 years ago
Matt Butcher
89c781582a
fix(helm): add dry-run flag for init
...
This adds a --dry-run flag to init, and causes the manifest file for
Tiller to be emitted on --debug. Together, this means you can do a
'helm init --dry-run --debug' and dump the Tiller manifest much as you
can with 'helm install --dry-run --debug'.
This does not require a server round-trip.
Closes #1417
8 years ago
Javier Cuevas
ed28a38548
Minor typo fix
8 years ago
Jim
e7d81ead70
fix(helm):
...
update helm commands usage text to reflect current state
Fixes #1266
8 years ago
Adnan Abdulhussein
cb5bd97ade
Merge pull request #1412 from prydonius/fix-index-order
...
fix(repo): ensure index generates in the right order
8 years ago
Adnan Abdulhussein
ee7fe7c728
fix(repo): ensure index generates in the right order
8 years ago
Adnan Abdulhussein
ec7d71cc47
Merge pull request #1409 from prydonius/ensure-parent-chart-notes
...
fix(tiller): ensure only the parent NOTES is used
8 years ago
Adnan Abdulhussein
168b17cf87
fix(tiller): ensure only the parent NOTES is used
8 years ago
Adam Reese
313a9dc4a3
Merge pull request #1400 from adamreese/fix/1396-kubeconfig-namespace
...
fix(helm): respect kubeconfig default namespace
8 years ago
Adam Reese
1ea977b578
Merge pull request #1405 from adamreese/fix/1395-purge-all
...
fix(tiller): delete all revisions with --purge
8 years ago
Adam Reese
4f4be2ec6d
fix(tiller): delete all revisions with --purge
...
closes : #1395
8 years ago
Matt Butcher
fcdb79da16
Merge pull request #1402 from technosophos/fix/1328-generate-index
...
fix(helm): make 'helm repo index' generate the right index
8 years ago
Adam Reese
e93d5b900f
fix(helm): respect kubeconfig default namespace
...
fixes : #1396
8 years ago
Matt Butcher
911d3224c5
fix(helm): make 'helm repo index' generate the right index
...
This prevents the index command from recursing through directories.
Behind the scenes, it swaps out the repository logic for the index file
logic.
Closes #1328
8 years ago
Brian
4899faa9ba
Merge pull request #1394 from fibonacci1729/fix/1357
...
fix(1357): print help text if revision is not specified
8 years ago
fibonacci1729
0daf3e476d
fix(1357): print help text if revision is not specified
8 years ago
Matt Butcher
08a488f58c
Merge pull request #1142 from ammeon/add-update
...
feat(helm): `--no-update` flag for `helm repo add`
8 years ago
Matt Butcher
51240d527b
fix(helm): show failed releases by default
...
For 'helm list', this now shows both deployed and failed releases by
default.
Closes #1387
8 years ago
Matt Butcher
04218a4d54
Merge pull request #1384 from technosophos/fix/1383-return-non-match
...
fix(helm): return correct version on dep up
8 years ago
Brian
5d1eedd1ae
Merge pull request #1380 from fibonacci1729/fix/1333
...
fix(1333): cannot delete release in failed state
8 years ago
Matt Butcher
84544bca57
fix(helm): return correct version on dep up
...
There was an extra return statement in a helper that was causing
the download manager to get a false positive on a release version.
Closes #1383
8 years ago
Jim
c77e149243
change var naming to match helm
8 years ago
fibonacci1729
264e30dd13
fix(1333): cannot delete release in failed state
8 years ago
Jim
29d0c339b4
fix(helm): make 'helm help' text punctuation consistent
8 years ago
Jim
c5557b3872
fix(tiller): make text punctuation consistent with helm help
...
Closes #1072
8 years ago
Matt Butcher
70a9e4aa6b
Merge pull request #1364 from technosophos/fix/1135-output-consistency
...
fix(helm): make 'helm install' output more consistent
8 years ago
Nic Roland
16436b565d
feat(helm): update repo by default, added `--no-update` flag
8 years ago
Matt Butcher
70c453c45f
fix(helm): make 'helm install' output more consistent
...
This fixed capitalization differences, removed duplicate fields,
clarified a few things, and changed a few display names.
Closes #1135
8 years ago
Adam Reese
1a7373e584
Merge pull request #1363 from adamreese/feat/helm-init-canary
...
feat(helm): add canary option to init command
8 years ago
Matt Butcher
ab6a73a0b5
Merge pull request #1361 from technosophos/fix/1334-merge-indices
...
fix(helm): allow entries to be merged into index
8 years ago
Adam Reese
4f43007908
feat(helm): add canary option to init command
...
To install the tiller canary `helm init --canary`
8 years ago
Matt Butcher
25c7e6dc21
fix(helm): allow entries to be merged into index
...
Between Alpha.4 and Alpha.5 there was a change in the indexing logic.
This prevent indices from being appended to (because those index files
were often broken). This change allows the user to explicitly merge an
existing index and a generated index.
Closes #1334
8 years ago
Adam Reese
0f5990f4cd
feat(helm): add kubeconfig context switching to init command
...
- decouple tunnel from kube client
- add context switching for init cmd
- add unit tests for installer and init command
- refactor installer and remove unused code
8 years ago
Adam Reese
7374ca3f3b
Merge pull request #1337 from adamreese/feat/1127-kube-context
...
feat(helm): add kubeconfig context switching
8 years ago
Michelle Noorali
1ad84745f8
bug(tiller): correct release statuses on rollback
...
Correcting similar issue as the one with UpdateRelease
(#1137 ) for RollbackRelase
8 years ago
Michelle Noorali
69b03a3332
Merge pull request #1335 from michelleN/ref-perform-update
...
bug(tiller): set status correctly in performUpdate
8 years ago
Michelle Noorali
57b2e6429e
bug(tiller): set status correctly in performUpdate
...
Handling release status updates on errors better
resolves #1137
8 years ago
Brian
d6b0dc0626
Merge pull request #1339 from fibonacci1729/ref/rlsutil
...
ref(*): add pkg/releaseutil.
8 years ago
Matt Butcher
cbe7a2a993
Merge pull request #1345 from technosophos/fix/1342-ignore-charts-dotfiles
...
fix(helm): ignore dotfiles in charts/ directories
8 years ago
Matt Butcher
864d278339
fix(helm): prevent 'helm history' from segfaulting
...
An release that does not contain chart metadata cannot print its chart
name/version. This fixes a bug found in the wild where a release did not
(for reasons yet unknown) contain a chart.
Closes #1348
8 years ago
fibonacci1729
24fe8643de
ref(*): add sorter/filter utilties to releaseutil
8 years ago
Michelle Noorali
2fa6335ce4
Merge pull request #1324 from michelleN/repo-remove-refactor
...
ref(helm): add new line after repo remove msg
8 years ago
Matt Butcher
2388e71528
fix(helm): ignore dotfiles in charts/ directories
...
This causes 'helm dep [up|install]' to ignore files in charts/ that
start with either a dot or an underscore. It also changes the
chartloader to ignore those files.
Also, if a 'helm dep up' does not find a charts/ directory, it creates
one.
Closes #1342
8 years ago
Adam Reese
3c98c512c9
Merge pull request #1336 from adamreese/feat/grpc-tracing
...
feat(tiller): add optional grpc tracing
8 years ago
Matt Butcher
a324146945
Merge pull request #1323 from technosophos/fix/1305-mark-deleted-on-fail
...
fix(tiller): when delete fails, mark release as deleted
8 years ago
Adam Reese
a2e577814d
feat(helm): add kubeconfig context switching
...
closes : #1127
8 years ago
Adam Reese
995f7569c9
feat(tiller): add optional grpc tracing
8 years ago
Adam Reese
36ec1901eb
Merge pull request #1316 from adamreese/ref/linters
...
ref(scripts): use gometalinter for linters
8 years ago
Matt Butcher
40a55b939f
Merge pull request #1325 from technosophos/fix/1301-helm-help-consistency
...
fix(helm): make 'helm help' text punctuation consistent
8 years ago
Adam Reese
f71230ccd3
fix(*): resolve go linter issues
8 years ago
Matt Butcher
bce805f6bd
Merge pull request #1319 from technosophos/ref/1318-remove-old-funcs
...
ref(helm): remove old structure functions
8 years ago
Matt Butcher
7c096fb2c2
fix(helm): make 'helm help' text punctuation consistent
...
Closes #1301
8 years ago
Michelle Noorali
59229eefee
ref(helm): add new line after repo remove msg
...
I think this got lost in a refactor. Was just bothering me.
8 years ago
Matt Butcher
b9fb8abdbc
ref(helm): remove old structure functions
...
This replaces the old structure functions with the functions in
cmd/helm/helmpath.
Closes #1318
8 years ago
Matt Butcher
87ab6673e0
fix(tiller): when delete fails, mark release as deleted
...
When a deletion fails to remove a manifest file, the release should
still be marked as deleted. This changes the error handling to try to
delete all manifests, and then mark the release as deleted, then return
the errors.
Closes #1305
8 years ago
Matt Butcher
4979aa0827
ref(repo): move urlJoin to the right package
...
I wrote urlJoin to fix URL joining, but I put it in the wrong place and
never used it. This moves it to the right place, and replaces the hacky
previous solution.
8 years ago
Matt Butcher
a85c37f2a4
fix(tiller): correct sort manifests by type
...
Closes #1313
8 years ago
Matt Butcher
1c6fc9c0e8
feat(helm): remove the requirement that fetch/install need version
...
This removes the requirement that a fetch or install command must
explicitly state the version number to install. Instead, this goes to
the strategy used by OS package managers: Install the latest until told
to do otherwise.
Closes #1198
8 years ago
Matt Butcher
5600b129ef
fix(helm): resolve URLs and SemVers correctly
...
The original dependency resolution did not correctly resolve version or
URL of a dependency. Version was tracked by filename, and URL was
assumed to be absolute. This fixes both of those.
Closes #1277
8 years ago
Matt Butcher
d2bf6b62f5
Merge pull request #1284 from technosophos/feat/1199-versions-flag
...
feat(helm): add --versions flag on search
8 years ago
Brian
1bf524b4c2
Merge pull request #1289 from fibonacci1729/fix/history-output
...
fix(cmd/hist): print revision history with unix synergy
8 years ago
fibonacci1729
00938d2a6d
fix(cmd/hist): print revision history with unix synergy
8 years ago
fibonacci1729
0ab6c4f9c6
fix(1246): pull most recent release from history
8 years ago
Brian
c87a902b0c
Merge pull request #1274 from fibonacci1729/feat/history
...
feat(helm/cmd): support for retrieving release history
8 years ago
fibonacci1729
e9dd302a9c
feat(helm/cmd): support for retrieving release history
8 years ago
Matt Butcher
d0cefeaf82
feat(helm): add --versions flag on search
...
This causes search to index by name/version instead of just name, which
means you can get a list of versions of a chart. The '--versions' flag
enables this behavior.
Partially fixes #1199
8 years ago
Matt Butcher
ea66d66d2d
Merge pull request #1282 from technosophos/fix/1265-auto-update-index
...
fix(repo): auto-update index file formats
8 years ago
Matt Butcher
a7b4b2674e
Merge pull request #1281 from technosophos/fix/1261-search-uitable
...
fix(helm): fix 'helm search' to use UITable
8 years ago
Matt Butcher
ea0e665f84
fix(repo): auto-update index file formats
...
This performs a relatively weak in-memory translation of index file
data. It does not, in most cases, write the corrected data to disk, and
it emits a warning directly to STDERR each time it loads a deprecated
index.
Known limitations:
- It cannot recover certain bogus records that earlier alpha releases
generated (notably, where all chartfile data is missing)
- In some cases, it has to parse a filename to get version info. This is
lossy.
- Because it takes three passes through the YAML and JSON unmarshal, it
is not performant.
This feature is transitional and should be removed during the Beta
cycle, prior to the release of 2.0.0.
Closes #1265
8 years ago
Matt Butcher
3e3312cea0
feat(tiller): re-use values during upgrade
...
When `helm install -f foo.yaml bar` is called, and then the release is
upgraded with `helm upgrade happy-panda bar`, this will now re-use the
values that were submitted with `-f foo.yaml`. The same is true for
values specified with `--set`.
Closes #1227
8 years ago
Matt Butcher
79e5fd6b74
fix(helm): fix 'helm search' to use UITable
...
Closes #1261
8 years ago
Matt Butcher
96cdbbe6b1
Merge pull request #1275 from technosophos/fix/srv-in-tmp
...
fix(helm): fix tests so that they do not write data into testdata
8 years ago
Matt Butcher
fc160256e5
fix(helm): fix tests so that they do not write data into testdata
...
There was a bug in the repo tests that caused them to overwrite the
repositories.yaml file in that directory. Now, the entire tests (server
and client-side) run inside of a temp directory.
8 years ago
Matt Butcher
10eb74abbb
Merge pull request #1269 from technosophos/feat/1264-chart-apiversion
...
fix(chart): Chart.yaml now has an apiVersion field.
8 years ago
Matt Butcher
4f09b05613
feat(helm): implement new index format
...
This implements a new index file format for repository indices. It also
implements a new format for requirements.yaml.
Breaking change: This will break all previous versions of Helm, and will
impact helm search, repo, serve, and fetch functions.
Closes #1197
8 years ago
Matt Butcher
66e59f63e7
fix(helm): change 'helm update' to 'helm repo update'
...
The old form is marked deprecated.
Relates to #1196
8 years ago
Matt Butcher
e0227c7510
fix(chart): Chart.yaml now has an apiVersion field.
...
This is to future-proof charts, and also be consistent with repo and
index YAML files.
Closes #1264
8 years ago
Adam Reese
854f3e0b51
ref(helm): refactor {home,lint,serve} commands
8 years ago
fibonacci1729
9cfbbb34f1
fix(1245): hook up revision flag to helm get {manifest,values,hooks}
8 years ago
Adam Reese
1db7bd649f
fix(helm): s/version/revision/
8 years ago
Adam Reese
5a5a44ec17
feat(*): add rollback to a release version
...
closes #1244
8 years ago
Adam Reese
becc12008f
Merge pull request #1218 from kubernetes/feat/rollback
...
feat(*): add helm rollback functionality
8 years ago
Matt Butcher
3437e5d6e5
Merge pull request #1234 from prydonius/rename-to-stable
...
chore(repo): Rename default charts repo to 'stable'
8 years ago
Adam Reese
3f1101cdfb
fix(tiller): do not create releases for a dry-run
8 years ago
Matt Butcher
065f178072
Merge pull request #1238 from technosophos/fix/1228-order-manifests
...
fix(tiller): Order the manifests before sending to k8s
8 years ago
Matt Butcher
65d0c03c0f
fix(tiller): Order the manifests before sending to k8s
...
This orders manifests both for installs and deletes so that the
manifests are ordered by kind.
Closes #1228
8 years ago
Michelle Noorali
ac88aaf218
feat(*): add helm rollback functionality
...
This feature allows you to rollback release to the
previous version of release.
resolves #1004
8 years ago
Matt Butcher
446d555178
feat(helm): update helm search
...
Switch 'helm search' from file crawling to using the indices. Also
add scorable indexing, forward porting the search code I originally
wrote for Helm Classic.
Closes #1226
Partially addresses #1199
8 years ago
Matt Butcher
db29c25a2e
Merge pull request #1232 from technosophos/feat/1042-upgrade-install
...
feat(helm): add 'helm upgrade --install' support
8 years ago
Adnan Abdulhussein
90d3a952e9
chore(repo): Rename default charts repo to 'stable'
8 years ago
Matt Butcher
85b70c4881
fix(helm): if server is old, report this in a friendly way
...
If 'helm version' is run on an old server, it will emit an error telling
you the server is too old.
Closes #1223
8 years ago
Matt Butcher
36e6094c62
feat(helm): add 'helm upgrade --install' support
...
This makes it possible to run an upgrade that will install a release if
it doesn't already exist.
Closes #1042
8 years ago
Matt Butcher
2d449d3eb0
Merge pull request #1224 from technosophos/feat/long-list
...
feat(helm): make long listing default for helm list
8 years ago
Matt Butcher
be409d31c5
Merge pull request #1221 from technosophos/feat/helm-dependency-update-2
...
feat(helm): add requirements.yaml support
8 years ago
Matt Butcher
3a483bcf71
feat(helm): make long listing default for helm list
...
This removes --long and adds --short,-q
The default listing is now the long listing, which matches the behavior
of all of the other listing commands.
Closes #1215
8 years ago
Matt Butcher
593718d749
feat(helm): add 'helm dependency' commands
...
This also refactors significant portions of the CLI, moving much of the
shared code into a library.
Also in this release, a testing repository server has been added.
8 years ago
Adam Reese
e0d02e6e5b
feat(*): add api version checks
8 years ago
Matt Butcher
a5921faf99
feat(chartutils): add support for requirements.yaml
8 years ago
Michelle Noorali
bad0059242
ref(helm): display repo remove confirmation text
8 years ago
Michelle Noorali
30036834e8
ref(helm): make index description more clear
8 years ago
Michelle Noorali
ec4442373e
helm(repo): add repo add and index cmd test
8 years ago
Michelle Noorali
a86f304d37
ref(helm): convert repo commands to new format
...
issue #1203
8 years ago
Adam Reese
264c6b10e1
feat(*): add git tree state to binaries
...
* clean up version output
8 years ago
Ville Aikas
1d6202d895
Merge pull request #1126 from vaikas-google/master
...
first cut of version on client and server
8 years ago
Ville Aikas
09e6af461f
clean up the formatting, remove unnecessary git_version from version as per discussions with @areese
8 years ago
Keerthan Reddy Mala (kmala)
55dc7b690f
fix(tiller): Upgrade shouldn't fail if there are no changes
...
Signed-off-by: Keerthan Reddy Mala (kmala) <kmala@deis.com>
8 years ago
vaikas-google
f8adf7f4d2
Address cr comments
8 years ago
vaikas-google
6d26024a27
first cut of version on client and server
8 years ago
Michelle Noorali
34f8707d6d
Merge pull request #1181 from michelleN/ref/check-args
...
ref(helm): refactor checkArgsLength method
8 years ago
fibonacci1729
9815c6b5c8
fix(1185): get release status by version iff version > 0
8 years ago
Adam Reese
448bb12c06
Merge pull request #1179 from adamreese/ref/helm-tunnel
...
ref(helm): simplify tunnel tests
8 years ago
fibonacci1729
e28e2419f2
fix(tiller): re-enable skipped test, golint, & gofmt all the things
8 years ago
Brian
79e5772061
Merge pull request #1155 from fibonacci1729/feat/rollback-storage
...
feat(rollback storage): support for rolling back to previous release.
8 years ago
fibonacci1729
84f982e8f1
feat(rollback-storage): use version in release_server test queries
8 years ago
fibonacci1729
825d2abd8c
feat(helm): better description for optional version flag
8 years ago
fibonacci1729
83df6ebc4d
feat(rollback-storage): remove extraneous else block and fix type in records_test
8 years ago
Michelle Noorali
e50f9e6b24
ref(helm): refactor checkArgsLength method
8 years ago
Adam Reese
123fb9e2fe
ref(helm): simplify tunnel tests
8 years ago
fibonacci1729
e42aa6c09c
feat(helm): add optional version flag to helm{get,status}
8 years ago
fibonacci1729
b47379ccdc
feat(rollback-storage): golint & removed early return from release server
8 years ago
fibonacci1729
de5365ec5c
feat(rollback-support): update release server / release server test
8 years ago
Matt Butcher
2b3d7c7f0c
Merge pull request #1139 from technosophos/fix/1138-failed-hook
...
fix(tiller): store failed release on post-inst failure
8 years ago
Matt Butcher
663f2b0f1d
fix(tiller): add test for failed hooks
8 years ago
Matt Butcher
53b01949a8
fix(tiller): store failed release on post-inst failure
...
This fixes a bug where post-install hooks did not result in recording a
failure.
8 years ago
Matt Butcher
1b3418d9e3
fix(helm): removed debug output
...
Also fixed a bug where a `--dry-run` will result in an error because
of the recently added status support.
There are several other output inconsistencies that I noticed and filed
as issue #1135 .
Closes #1130
8 years ago
Matt Butcher
c7182a5a35
Merge pull request #1132 from ammeon/replace-deleted
...
fix(tiller): Install --replace will result in an upgrade
8 years ago
Nic Roland
c180c4a250
fix(tiller): Install --replace will result in an upgrade
...
If a release has been deleted, `install --replace` will work but the release
status will still be "deleted". This means that subsequest attempts to
change the release will fail. Upgrading the release instead will prevent
such zombie releases.
Closes #1131
8 years ago
fibonacci1729
5b7e841faf
chore(tiller): delete redundant testing of storage in pkg/environment
8 years ago
Matt Butcher
fefa00fc52
fix(tiller): return status for deleted release
...
This modifies `helm status` to return info about deleted and failed
releases. We do our best to retrieve info for releases that were
partially deployed.
8 years ago
Ville Aikas
bf9dea1351
Merge pull request #1122 from vaikas-google/statusafterinstallupdate
...
print the status after install/upgrade
8 years ago
Michelle Noorali
07bcd3384a
Merge pull request #1112 from ammeon/fix-repo-index-url
...
fix(helm): make repo index not require repo_url
8 years ago
vaikas-google
6b9c9c5743
fix unit tests that I had b0rked before. Small code cleanup
8 years ago
Michelle Noorali
367a581a5a
Merge pull request #1109 from ammeon/fix-repo-remove-cache
...
fix(helm): make repo remove, clear cache
8 years ago
vaikas-google
406f0ab05c
print the status after install/upgrade
...
Signed-off-by: vaikas-google <vaikas@google.com>
8 years ago
vaikas-google
7c4cad5cf0
address lint comments from changing from all caps to camelcase
8 years ago
vaikas-google
c2a86cfbd4
fix a return statement with not enough arguments due to merge conflict
8 years ago
vaikas-google
492dbb3791
Add support for NOTES.txt file
8 years ago
joe2far
2253f3e84e
fix(helm): make repo index not require repo_url
8 years ago
Adam Reese
274804707c
Merge pull request #1118 from adamreese/feat/1117-init-version
...
feat(cmd): install latest tagged image on `helm init`
8 years ago
Adam Reese
5d820c4d7c
feat(cmd): install latest tagged image on `helm init`
...
closes : #1117
8 years ago
Matt Butcher
e2f9d8942c
Merge pull request #1107 from technosophos/fix/696-update
...
fix(helm): refactor 'helm update' to match new style
8 years ago
Matt Butcher
1fb16ab3c9
fix(helm): refactor 'helm update' to match new style
...
And add tests.
Closes #696
8 years ago
Matt Butcher
25c77febdb
Merge pull request #1097 from technosophos/feat/1001-k8s-apiversion
...
feat(tiller): verify apiVersions before install
8 years ago
Matt Butcher
557db8c6af
feat(tiller): verify apiVersions before install
8 years ago
Matt Butcher
2547bf4b89
Merge pull request #1105 from technosophos/ref/move-pkg-client
...
ref(pkg/client): move pkg/client to cmd/helm/installer
8 years ago
Matt Butcher
afb2b934b8
Merge pull request #1104 from technosophos/feat/1100-multi-args
...
feat(helm): allow multiple args for fetch, package, delete
8 years ago
joe2far
4b718274bc
fix(tiller): truncate release name returned from moniker
8 years ago
joe2far
a3d56852f1
fix(helm): make repo remove clear cache
8 years ago
Matt Butcher
5566e6baec
ref(pkg/client): move pkg/client to cmd/helm/installer
...
This is a minor refactor to move a leftover from Ancient Helm into the
current design. Specifically, the code to install Tiller from the Helm
client is now in `cmd/helm/installer`.
Closes #1033
8 years ago
Matt Butcher
1be28d6f29
feat(*): add 'helm list --all' and related flags
...
This adds support for the following 'helm list' flags:
- all: show all release types
- deleted: show deleted releases
- deployed: show deployed releases
- failed: show failed releases
These flags can be toggled. Only '--deployed' is turned on by default.
On the server side, Tiller's list function can now filter based on a
slice of release.Status_Code filters. While the client only supports a
subset, the server supports all known release.Status_Code types.
Closes #973
8 years ago
Matt Butcher
f3022a0909
feat(helm): allow multiple args for fetch, package, delete
...
This allows the following commands to accept more than one argument on
the CLI:
- helm fetch
- helm package
- helm delete
Closes #1100
8 years ago
Matt Butcher
926d7931d8
Merge pull request #1067 from ebraminio/deletepurge
...
Add purge option for completely remove a release from tiller
8 years ago
Michelle Noorali
197e466b9a
ref(*): return resource update errors
...
Resolves #1058
8 years ago
Adam Reese
76defc62ee
Merge pull request #1096 from adamreese/fix/spelings
...
fix(cmd): s/accomodate/accommodate/
8 years ago
Adam Reese
9bb471d2a8
fix(cmd): s/accomodate/accommodate/
...
Matt's second offence.
8 years ago
Matt Butcher
f1d07c3f11
feat(helm): add --verify flag to commands
...
This adds the --verify and --keyring flags to:
helm fetch
helm inspect
helm install
helm upgrade
Each of these commands can now make cryptographic verification a
prerequisite for using a chart.
8 years ago
Matt Butcher
d80df93414
feat(helm): add signature support to 'helm package'
8 years ago
Matt Butcher
13ee1af495
Merge pull request #1082 from devth/feat/add-set-to-helm-upgrade
...
Add --set flag to `helm upgrade`
8 years ago
Matt Butcher
77171c0136
Merge pull request #1080 from technosophos/feat/1071-limit-rel-name-len
...
feat(tiller): limit the max len of Release.Name
8 years ago
Trevor Hartman
9f0914f7cb
Add --set flag to `helm upgrade`
...
Fix #1070
8 years ago
Matt Butcher
cafec1202b
feat(tiller): limit the max len of Release.Name
...
This limits the number of characters in a release name to 14. This
preserves 10 characters for customizing the `name:` field in charts.
Relates to #1071
8 years ago
Michelle Noorali
cf5e158f0d
chore(helm): fix golint errors
8 years ago
Michelle Noorali
a124b4f56f
feat(helm): add rollback cmd
8 years ago
Ebrahim Byagowi
1c9b8d7257
Add purge option for completely remove a release from tiller
8 years ago
Matt Butcher
3181f70790
Merge pull request #1063 from devth/feat/value-merging
...
Include values from both --set and --values when specified on install
8 years ago
Trevor Hartman
edd6fd7465
Test overriding a property in TestValues
8 years ago
Adam Reese
6e4344ba17
Merge pull request #1064 from adamreese/fix/port-doc
...
fix(cmd): remove default port in cmd doc
8 years ago
Adam Reese
7bc56e74f9
fix(cmd): s/supress/suppress/
...
Suppress is spelled wrong.
Matt did it.
8 years ago
Adam Reese
6cc01e3a91
fix(cmd): remove default port in cmd doc
...
Default is unset.
8 years ago
Trevor Hartman
dacc4013c1
Include values from both --set and --values when specified on install
8 years ago
Matt Butcher
120256ecb3
Merge pull request #1057 from technosophos/feat/configmaps-default
...
feat(tiller): make configmaps the default storage
8 years ago
Matt Butcher
80761b6274
fix(helm): document KUBECONFIG env var
...
Closes #1047
8 years ago
Matt Butcher
5bcf29d214
feat(tiller): make configmaps the default storage
...
This adds a Tiller CLI flag to override the default, and tests to
make sure that the default comes up as expected.
8 years ago
Matt Butcher
8cc146841e
Merge pull request #1044 from technosophos/fix/1041-downgrade-already-exists-to-warning
...
fix(helm): warn on init when Tiller already exists
8 years ago
Matt Butcher
3128562149
fix(helm): warn on init when Tiller already exists
...
Previously, if 'helm init' was run on a cluster that had Tiller
installed, the init would fail. However, this condition indicates that
both the client and the server are in a condition to work, so this
should not be an error. This PR downgrades that error to a warning.
Closes #1041
8 years ago
Adam Reese
db74f74b55
Merge pull request #1040 from adamreese/fix/spelling
...
fix(cmd): s/specifiy/specify/
8 years ago
Ville Aikas
c2cdb97ba2
Merge pull request #1039 from vaikas-google/master
...
First cut of adding dynamic cluster support to status command
8 years ago
vaikas-google
bdbe457c3c
forgot to change the return to string
8 years ago
Adam Reese
2cfb11fe44
fix(cmd): s/specifiy/specify/
8 years ago
vaikas-google
d2841f92f3
formatting changes, add comments, make tests pass
8 years ago
fibonacci1729
ae2d6c5050
Merge branch 'master' into feat/storage-memory
8 years ago
vaikas-google
d8e185267d
First cut of adding dynamic cluster support to status command
8 years ago
Michelle Noorali
ae4ff5cd81
Merge pull request #1030 from michelleN/feat/690-helm-upgrade
...
feat(*): implement helm upgrade + upgrade hooks
8 years ago
fibonacci1729
ce909a39d6
fix: return only deployed releases
8 years ago
fibonacci1729
559e9081fb
style fixes and cleanup
8 years ago
Michelle Noorali
f99228778d
feat(*): integrate support for upgrade hooks
8 years ago
fibonacci1729
3a6a9f2436
gofmt on cmd/tiller
8 years ago
fibonacci1729
1d04646c85
update failing tests to use new storage / driver apis
8 years ago
fibonacci1729
b28c3793a0
add feature flag to use storage driver configmaps
8 years ago
Matt Butcher
24e891ee6d
Merge pull request #1029 from ammeon/serve-repo-path
...
Serve charts from specified local repository path
8 years ago
Michelle Noorali
70b9f11a03
feat(*): add disable hooks flag to `helm upgrade`
8 years ago
Michelle Noorali
8be3a34ac6
feat(tiller): add update logic to release server
8 years ago
Matt Butcher
cc2c1d9393
Merge pull request #1025 from technosophos/fix/1024-missing-values
...
fix(helm): fix inspect command to not panic
8 years ago
joe2far
1e7c814e8a
Serve charts from specified local repository path
8 years ago
fibonacci1729
74deac940b
update tiller environment & release server to use new storage
8 years ago
Michelle Noorali
f600b30c7a
feat(kube): add update logic to kube client
...
This commit adds an Update function to the client.
The Update function takes in the modified manifests and
the original manifests. It then iterates through the modified
objects, creates objects not found in kubernetes, and updates
objects that exists but have been modified. Finally, it
iterates through the original resources and checks to see if
they have been deleted in the modified configuration and then
proceeds to delete them. #690
8 years ago
Matt Butcher
b009bf7dc4
fix(helm): fix inspect command to not panic
...
Helm can now inspect a chart if the values.yaml file is not present or
is empty.
8 years ago
Miguel Ángel Martínez Triviño
2521ce7bc2
Merge pull request #1019 from ebraminio/strictflag
...
Add a strict flag to helm lint
8 years ago
Ville Aikas
1d718d7939
Merge pull request #1015 from vaikas-google/master
...
Add name-template flag for installation that allows the user to speci…
8 years ago
Ebrahim Byagowi
107821f9ec
Add a strict flag to helm lint
8 years ago
vaikas-google
d42dbd3538
address code review comments. use text/template instead of html/template
8 years ago
Matt Butcher
603bb20ed4
Merge pull request #1014 from technosophos/fix/1010-reuse-name-replace
...
fix(helm): rename --reuse-name to --replace
8 years ago
vaikas-google
01a598f531
Add name-template flag for installation that allows the user to specify a template used for release name generation
8 years ago
Adam Reese
39ba728b6f
ref(cmd): refactor init command
8 years ago
Matt Butcher
4593111892
fix(helm): rename --reuse-name to --replace
...
Closes #1010
8 years ago
Matt Butcher
9fe7f41364
feat(972): add --reuse-name flag to helm install
...
This will allow helm install to re-use names for releases that were
already deleted.
8 years ago
Matt Butcher
95dbefe06d
fix(tiller): remove partials and empty manifests
...
This removes partials and empty manifests during the sortHooks
operation. Doing so makes sortHooks the defacto place for sorting
manifests, hooks, and partials.
Closes #991
8 years ago
Michelle Noorali
6006fc7b21
Merge pull request #963 from michelleN/feat/690-helm-upgrade
...
feat(*): add upgrade command and validations
8 years ago
Matt Butcher
b5354180f6
Merge pull request #984 from GrantSeltzer/inspect-chart-or-values-options
...
Add subcommands to inspect only chart or values
8 years ago
Adam Reese
fa67287ac4
Merge pull request #986 from adamreese/fix/validate-running-tiller
...
fix(cmd): ensure tiller is running for connection
8 years ago
Matt Butcher
82797ae28c
Merge pull request #974 from technosophos/fix/971-inherit-passed-values
...
fix(tiller): merge -f values correctly
8 years ago
Michelle Noorali
62667e9f12
ref(tiller): fix chart version comparison
8 years ago
Michelle Noorali
f74720613b
chore(helm): add client test for upgrade cmd
...
I edited releaseMock as part of this PR
8 years ago
Michelle Noorali
36699cc22d
ref(helm): refactor cmd/upgrade for unit testing
8 years ago
Michelle Noorali
0fcd7fccea
feat(tiller): add upgrade validations to tiller
8 years ago
Michelle Noorali
5e654c0380
feat(*): get helm & tiller chatting about upgrades
8 years ago
Michelle Noorali
35bf1c66b4
feat(helm): add helm upgrade command
8 years ago
Grantseltzer
23421f9133
Add subcommands to specify only chart or values inspected
...
Signed-off-by: Grantseltzer <grantseltzer@gmail.com>
8 years ago
Adam Reese
49491a8a0a
fix(cmd): ensure tiller is running for connection
...
Fixes: https://github.com/kubernetes/helm/issues/981
8 years ago
Matt Butcher
37fd3e412b
Merge pull request #982 from technosophos/feat/944-command-line-values
...
feat(helm): support command-line values for install
8 years ago
Matt Butcher
76d8004abd
Merge pull request #979 from technosophos/fix/improved-delete-errors
...
fix(tiller): improve deletion error messages
8 years ago
Adam Reese
fcaa426491
chore(*): add missing license blocks to source code
8 years ago
Matt Butcher
4b6fbbb67f
feat(helm): support command-line values for install
...
Add support for specifying key/value pairs on the command line, instead
of only in a YAML file.
This currently accepts either command line pairs or a YAML file, but
does not support combining the two.
Closes #944
8 years ago
Matt Butcher
8119513cdd
fix(tiller): improve deletion error messages
...
This stops a repeat deletion from sending requests all the way to
Kubernetes, and gives a clear error message when a deletion is requested
on an already deleted resource.
Relates to #972
8 years ago
Matt Butcher
1c598c2d13
Merge pull request #964 from technosophos/fix/957-template-name-on-failure
...
fix(tiller): provide filename when YAML is bad
8 years ago
Matt Butcher
9d5fdbdaaa
Merge pull request #970 from technosophos/feat/967-helm-inspect
...
feat(helm): add 'helm inspect'
8 years ago
Matt Butcher
57fecb2735
fix(tiller): provide filename when YAML is bad
...
This makes the template system less tolerant in the name of detecting
YAML parse errors before things are sent to Kubernetes. It returns a
more detailed error message when a template creates a manifest which is
not valid YAML.
Closes #957
8 years ago
Matt Butcher
c5cc02a611
feat(helm): add 'helm inspect'
...
This basic version of helm inspect displays the Chart.yaml and
values.yaml files on STDOUT.
Closes #967
8 years ago
Matt Butcher
95eeba3805
fix(tiller): merge -f values correctly
...
This fixes a bug in which passed-in values files were not correctly
merged into the chart's default values YAML data. I believe it also
fixes some other prioritization bugs in values merging.
The existing unit test was wrong (see TestCoalesceValues). It is
fixed now. Also added more tests to simulate issue #971 .
In the course of writing this, I removed some vestigial code as
mentioned in #920 .
Closes #971
Closes #920
8 years ago
Adam Reese
57bd8b2c28
feat(*): install releases into namespace
8 years ago
Matt Butcher
a0bc510662
Merge pull request #955 from technosophos/feat/932-disable-hooks
...
feat(helm): add --no-hook to helm install and delete
8 years ago
Matt Butcher
1ff5499be7
feat(helm): add --no-hooks to 'helm delete'
...
This also adds several tests, cleanups to the API, and removal of dead
code.
Relates to #932
8 years ago
Michelle Noorali
80a7339e2f
Merge pull request #947 from ngtuna/master
...
Fix #872 : index function should handle deleted charts correctly
8 years ago
Matt Butcher
a42b43a9fa
feat(helm): add --no-hook to helm install
...
This includes a substantial bit of unit test improvements. Also, in
order to allow us to tests command line args (which translate to
helm.Option objects), I had to add a new interface to pkg/helm.
8 years ago
Adam Reese
0ceeb19ded
ref(cmd): refactor status cmd
8 years ago
Adam Reese
b6b9a4e04d
Merge pull request #952 from adamreese/ref/create-command
...
ref(cmd): refactor create cmd
8 years ago
Adam Reese
736009982e
ref(helm): fix naming issues from golint
8 years ago
Adam Reese
4dd95addd2
ref(cmd): refactor create cmd
8 years ago
Adam Reese
0d7cb4ac83
Merge pull request #945 from adamreese/ref/remove-dup-test
...
ref(cmd): remove duplicate test cases
8 years ago
ngtuna
90192b4b2e
fix(helm): helm search should only display only those charts with a remove boolean that is set to false
8 years ago
Adam Reese
a14e76a65c
chore(*): add canonical import path annotation
...
https://golang.org/doc/go1.4#canonicalimports
8 years ago
Adam Reese
71fa7ecb9b
ref(cmd): remove duplicate test cases
8 years ago
Matt Butcher
1cd9f5d541
feat(helm): add 'helm get hooks'.
...
This adds 'helm get hooks' and updates 'helm get' to return
hook information.
8 years ago
Matt Butcher
73a2890277
fix(engine): change template naming
...
Template paths were relative to the chart that contained them, which
meant that all templates were named 'template/SOMETHING'. This made it
trivially easy to hit namespace collisions as in #933 .
Template path names are essentially opaque strings so this patch simply
changes them to be qualified by parent chart.
8 years ago
Michelle Noorali
15b428d450
feat(*): add version to release
...
laying ground work for #690
8 years ago
Matt Butcher
e91bbceff2
Merge pull request #916 from technosophos/feat/901-hooks
...
feat(tiller): support hooks for install
8 years ago
Matt Butcher
ff32062ae8
feat(tiller): support hooks for install
8 years ago
Adnan Abdulhussein
631ca63040
Merge pull request #922 from prydonius/feat/836-lint-multiple-charts
...
feat(lint): support linting multiple charts
8 years ago
Adnan Abdulhussein
a4458085ab
fix(lint): fix tests
8 years ago
Adnan Abdulhussein
dda61f6074
fix(lint): only return count of actually linted charts
8 years ago
Adnan Abdulhussein
f3e754794e
fix(lint): print relative path of packaged chart instead of temp dir
8 years ago
Adnan Abdulhussein
f273510c97
fix(lint): fix golint errors
8 years ago
Adam Reese
37cf2b9e7d
ref(tests): simplify creating fake client
8 years ago
Adam Reese
4db6cd93bb
fix(test): match output using regexp
8 years ago
Adnan Abdulhussein
03ca4e892f
feat(lint): support linting multiple charts
8 years ago
Adam Reese
2fb8b60765
fix(cmd): load client inside subcommand
8 years ago
Adam Reese
1ba822c7a4
docs(cmd): add missing license headers
8 years ago
Adam Reese
7c01a28c5c
test(cmd): add unit tests for get command
8 years ago
Adam Reese
5e3044a65f
ref(cmd): refactor get command
9 years ago