Commit graph

844 commits

Author SHA1 Message Date
Neil Moore
b74f6dd769 Update install.go 2017-09-26 09:13:54 +01:00
Neil Moore
1b8ddac230 Update install.go 2017-09-26 09:10:41 +01:00
Neil Moore
b77b7dd3c7 Update install.go 2017-09-26 09:03:00 +01:00
Matthew Fisher
cf3fc21e81 Merge pull request #2898 from zlabjp/kube-version
feat(helm): add --kube-version flag to helm template
2017-09-25 15:19:05 -07:00
Sharno
550d350a04 Adding output for the created repos when helm init 2017-09-12 13:14:23 -04:00
Kazuki Suda
fa3ee5aecf feat(helm): add --kube-version flag to helm template
This commit adds --kube-version flag to helm template. It allows you to
override the Kubernetes version used as Capabilities.KubeVersion.Major/Minor (e.g. 1.7).
2017-09-11 11:22:00 +09:00
Kazuki Suda
3508cebbf6 Use the same defaults as done in helm lint for Capabilities 2017-09-11 10:09:42 +09:00
flyer103
d55782de94 cmd/helm,docs/helm: amend default namespace of tiller 2017-09-09 05:23:07 +08:00
Matthew Fisher
bb5db61325 Merge pull request #2781 from jascott1/i2755-template
feat(helm): add `template` command
2017-09-05 10:09:23 -07:00
Matt Butcher
7186fcf240 Merge pull request #2808 from ebabani/master
'helm upgrade --install' uses the namespace from kube config.
2017-08-31 10:57:31 -06:00
Justin Scott
4a02a71f1e WIP feat(helm): add template command
This adds the functionality from the helm-template plugin to allow the
rendering of templates without Tiller.

Closes #2755
2017-08-28 18:04:56 -07:00
Justin Scott
a2323f8658 Merge pull request #2818 from lichuqiang/master
fix typo in helm_fetch.md
2017-08-18 11:46:48 -07:00
Matt Butcher
a736c2a3fe Merge pull request #2636 from technosophos/feat/2332-max-history
feat(tiller): limit number of versions stored per release
2017-08-17 13:33:10 -06:00
lichuqiang
ceb953c5b0 fix typo 2017-08-17 11:27:09 +08:00
Matt Butcher
04a0659b3e Merge pull request #2809 from rocky-nupt/feature-read-from-STDIN
feat(helm):Support reading the values file from STDIN
2017-08-16 15:52:18 -06:00
xuhaigang
084dff477e feat(helm):Support reading the values file from STDIN
We can use the command like
<pre>sed "s|foo|bar|g" values-template.yaml | helm install -f - stable/foo</pre>

This may be helpful in scripting.

Closes #2709
2017-08-16 16:39:07 +08:00
Ergin Babani
edb5be3ac5 'helm upgrade --install' uses the namespace from kube config.
Use the current kube config namespace by default if --namespace is not specified.
This makes 'helm upgrade --install' and 'helm install' handle namespaces
the same way.
2017-08-15 01:19:33 -04:00
Matt Butcher
0853f4906a
feat(tiller): limit number of versions stored per release
This adds a new configuration option to Tiller to limit the number of
records stored per release.

Tiller stores historical release information (helm history, helm
rollback). This makes it possible to set a maximum number of versions
per release.

To enable this feature, use `helm init --history-max NNN`. Note that
because of the restrictions on Deployment objects, you will have to
re-install Tiller to add a limit.

Along the way, I found an unreported bug in the Memory storage driver.
This fixes that bug and adds substantially more tests to catch
regressions.

Closes #2332
2017-08-10 12:01:20 -06:00
Maciej Kwiek
9c4bb14673 Delete old deps after chart deps are updated
This change changes the order of operations in
pkg/downloader.Manager.downloadAll

Old charts are moved to tmp directory which is restored in case any
dependency update fails. Otherwise tmp dir is deleted.
2017-08-10 17:36:00 +02:00
Maciej Strzelecki
e61ee5c54e fix(helm): pass os.stdin when executing a plugin (#2740) 2017-08-04 08:57:34 -07:00
Baofa Fan
43ce6b57da delete secret when helm reset (#2715)
* delete secret when helm reset

* add test

* expected 3 actions
2017-08-04 08:55:52 -07:00
Taylor Thomas
8fc88ab626 Merge pull request #2681 from at1012/at-helm-list
feat(2063): Better 'helm list' visibility into state of pending upgrades
2017-07-20 21:46:27 -07:00
Adam Reese
7112a48af6
ref(helm): refactor cleanup of environment after tests run 2017-07-14 11:08:50 -07:00
Adam Reese
a29e610938
fix(helm): fix flag parsing once and for all 2017-07-14 11:08:50 -07:00
Aishwarya Thangappa
915e7023c4 Added more granular statuses 2017-07-13 15:20:07 -07:00
Aishwarya Thangappa
64bab308fb Added unit tests 2017-07-12 15:04:34 -07:00
Aishwarya Thangappa
3d4361ca1f Modified release_update and release_rollback 2017-07-12 15:04:34 -07:00
Taylor Thomas
564ba7ba7c fix(dep): Fixes out of date dependency info
The help text for `helm dep` contained out of date info about
referring to a chart repo by name vs. URL.
2017-07-11 16:56:29 -07:00
Matt Butcher
b671888ff4
fix(helm): fix helm get subcommands
This correctly sets up the tunnel for `helm get values`, `helm get
manifest`, and `helm get hooks`.

Closes #2617
2017-07-11 16:08:19 -06:00
Adam Reese
876cbc205c
fix(helm): support HELM_HOME during plugin loading
closes #2630
2017-07-11 14:26:25 -07:00
Adam Reese
dd952e61f0
fix(helm): load home from flags during runtime 2017-07-11 11:42:30 -07:00
Maciej Strzelecki
46275612c3
feat(helm): add -a flag to 'helm list'
There's 'helm get values -a' already. I always try to use 'helm list -a'
spontaneously.
2017-07-10 15:20:29 +02:00
Justin Scott
8cac493557 Capitalize 'helm' text in init.go. 2017-06-29 16:33:00 -07:00
Steven E. Harris
24238bbe20 Merge pull request #2601 from jascott1/cap_init
feat(helm): Correct capitalization and punctuation for all user facing text
2017-06-29 14:44:14 -04:00
Matt Butcher
f0af7d60e7 Merge pull request #2592 from raisemarketplace/compare
ref(helm): consolidate vars() function
2017-06-29 12:19:57 -06:00
Justin Scott
37e5f76f9e Capitalize 'helm' text that was missed. 2017-06-27 10:21:30 -07:00
Justin Scott
b704947d54 Fix broken tests due to "server-side" text change. 2017-06-26 14:41:00 -07:00
Justin Scott
af4c243ee3 Correct punctuation and capitalization for user facing strings. 2017-06-26 10:23:26 -07:00
Michelle Noorali
29c4709b5e Merge pull request #2550 from michelleN/export-fake-release-client
ref(helm): make FakeReleaseClient public
2017-06-23 14:38:36 -04:00
Michelle Noorali
8a99a4aa6f ref(helm): rename FakeReleaseClient -> FakeClient 2017-06-21 20:27:14 -04:00
Sushil Kumar
f476f83e83 <chart>.tgz will now be downloaded to "$HELM_HOME/cache/archive" directory (#2558)
* <chart>.tgz  will now be downloaded to "$HELM_HOME/cache/archive" directory

Fixes https://github.com/kubernetes/helm/issues/2142

* Added archive location to helm init
2017-06-19 10:26:42 -07:00
Patrick Mahoney
9e62777a56 ref(helm): consolidate vars() function 2017-06-19 10:30:37 -05:00
Adam Reese
a658d24ccd
ref(tiller): refactor out cobra from tiller 2017-06-11 19:39:58 -07:00
Adam Reese
401f8bcc18 Merge pull request #2563 from adamreese/ref/code-cleanup
ref(helm): mix bag of syntax cleanup in cmd/helm
2017-06-09 09:57:39 -07:00
Matt Butcher
ecef026b68 Merge pull request #2545 from technosophos/feat/set-list-index
feat(helm): support array index format for --set.
2017-06-08 14:34:26 -06:00
Adam Reese
b671077de1
ref(helm): mix bag of syntax cleanup in cmd/helm 2017-06-08 13:08:41 -07:00
Steven E. Harris
9f9b3e8729 Use versioned API types from the client-go library (#2524)
* Use versioned API types from the client-go library

Wherever possible, use the k8s.io/client-go/kubernetes.Interface type
in favor of the client-related types from package

  k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset

The latter are still required by the kubectl "reaper" types used in
the "installer" and "kube" packages.

* Accept the default deployment replica count of one

Don't bother requesting a single replica explicitly.
2017-06-08 12:30:59 -07:00
Matt Butcher
c01c7318ab
feat(helm): support array index format for --set.
This adds support for specifying list position with an array index using
`--set`. For example, this now works: `--set servers[0].port=8080`
2017-06-08 12:15:03 -06:00
Taylor Thomas
eb2882d750 Merge pull request #2549 from thomastaylor312/fix/broken_unit_test
fix(tests): Fixes broken unit test
2017-06-07 10:06:41 -07:00
Adam Reese
a98f701a62 Merge pull request #2553 from adamreese/fix/helm-home-stdout
fix(helm): helm home print to stdout
2017-06-07 09:36:31 -07:00