Commit graph

3243 commits

Author SHA1 Message Date
Sushil Kumar
82da721c0a Added tests for different combinations of subcharts & requirements.yaml
Added more tests to test following comibnations of subcharts and requirements.yaml
- [ ] subcharts not specified in requirements.yaml
- [ ] some subcharts specified in requirements.yaml while others should be picked directly from "charts\"
- [ ] all subcharts specified in requirements.yaml without alias
- [ ] subcharts specified in requirements.yaml with alias is already tested
2017-06-22 10:44:20 -07:00
Sushil Kumar
7ce5c7925b Adds charts in "charts\" directory to dependencies
Dependencies should be processed even if they are not added to requirements.yaml
Fixes https://github.com/kubernetes/helm/issues/2599
2017-06-21 15:40:37 -07:00
Adam Reese
012cb0ac1a
chore(*): bump to v2.5.0 2017-06-19 13:42:43 -07: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
Taylor Thomas
9c8a99b52a Merge pull request #2584 from unguiculus/helm-create
Improve 'helm create'
2017-06-19 10:16:19 -07:00
Reinhard Nägele
76e6e15a0c Add comment on resources 2017-06-18 14:42:36 +02:00
Taylor Thomas
3ff8e9196e Merge pull request #2586 from JulienBalestra/docs-command-typo
docs: Fix typo in command line
2017-06-17 15:38:27 -07:00
Julien Balestra
8dfec4db61 Fix typo in command line. 2017-06-16 14:10:07 +02:00
Reinhard Nägele
51923e54b1 Improve 'helm create' 2017-06-16 09:41:38 +02:00
Adam Reese
72cd1464d2 Merge pull request #2570 from adamreese/ref/goimports
ref(tiller): cleanup goimports
2017-06-12 19:35:29 -07:00
Matt Butcher
dece57e0ba Merge pull request #2350 from eicnix/master
Added "tpl" template function
2017-06-12 13:37:17 -06:00
Adam Reese
eccb041c0f
ref(tiller): cleanup goimports 2017-06-12 10:30:21 -07:00
Adam Reese
5c1830f1aa Merge pull request #2569 from adamreese/ref/tiller
ref(tiller): refactor out cobra from tiller
2017-06-12 09:00:38 -07: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
Lukas Eichler
39db9ec6e8 Merge branch 'master' into master 2017-06-08 18:40:34 +02:00
Michelle Noorali
15c14194c4 Merge pull request #2457 from michelleN/hooks-bug
fix(tiller): track hooks in multi-def manifests
2017-06-08 10:37:01 -04:00
Taylor Thomas
5d3f3fdcd1 Merge pull request #2559 from v1k0d3n/docs-armada
docs(helm): add armada to the additional tools readme
2017-06-07 21:18:04 -07:00
Taylor Thomas
94c419663f Merge pull request #2556 from cblecker/go1.8.3
chore(ci): bump go 1.8.3
2017-06-07 21:12:09 -07:00
Brandon B. Jozsa
b482780ebb docs: add armada to the additional tools readme 2017-06-07 18:38:20 -04:00
Matt Butcher
8832cde7e0 Merge pull request #2555 from lachie83/docs-tiller-namespaces
(docs) - add best practices for running tiller in namespaces
2017-06-07 12:36:42 -06:00
Christoph Blecker
213805504c
chore(ci): bump go 1.8.3 2017-06-07 11:10:30 -07:00
Lachlan Evenson
6a7a7d2a58
update wording based on pr review 2017-06-07 10:28:40 -07:00
Matt Butcher
a15b3be9de Merge pull request #2496 from pierreozoux/patch-1
Rename index.md to README.md
2017-06-07 11:25:39 -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
Lachlan Evenson
a25c5a7362
add best practices for running tiller in namespaces 2017-06-07 10:04:06 -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
Matt Butcher
c4a4b9668d Merge pull request #2546 from technosophos/docs/remove-block-sections
docs(chart_template_guide): remove discussion of blocks
2017-06-07 10:28:13 -06:00
Adam Reese
985dbae2ac
fix(helm): helm home print to stdout
cobra prints to stderr by default
2017-06-07 08:53:23 -07:00
Taylor Thomas
e3250e3319 Merge pull request #2534 from sushilkm/issues/2508
First alias would be dependency rename
2017-06-06 22:33:51 -07:00
Taylor Thomas
5cfb4e8cf8 fix(tests): Fixes broken unit test
The new unit test was not passing an explict subcommand arg to the
root command in the unit test.
2017-06-06 22:17:26 -07:00
Matt Butcher
52a3405b1e Merge pull request #2542 from sushilkm/issues/2128
Allow updating chart dependencies when packaging a chart
2017-06-06 16:39:33 -06:00
Sushil Kumar
4ddd832f35 Use download manager directly 2017-06-06 15:24:43 -07:00
Matt Butcher
38a3067170
docs(chart_template_guide): remove discussion of blocks
There are a lot of weird edge cases when using blocks inside of charts,
and we have been telling users to avoid using them for the last six
months. This just removes the documentation about them. It also adds a
warning about why blocks should not be used.
2017-06-06 16:19:52 -06:00
Taylor Thomas
c36c25391e Merge pull request #2544 from thomastaylor312/fix/tiller_linux_host
fix(helm): Ensures tiller pod lands on a linux node
2017-06-06 13:09:02 -07:00
Matt Butcher
d2a4c40fa5 Merge pull request #2541 from technosophos/fix/2525-helm-get-broken-release
fix(tiller): make GetReleaseContent return any release
2017-06-06 11:48:51 -06:00
Matt Butcher
c55577ace6 Merge pull request #2535 from jascott1/i2331
fix(helm): remove unnecessary values merge in processImportValues
2017-06-06 11:48:22 -06:00
Taylor Thomas
8a0e051c1d fix(helm): Ensures tiller pod lands on a linux node
Without a node selector to ensure that tiller deploys on a linux node,
the tiller pod can have issues starting in a mixed cluster.

Fixes #2420
2017-06-05 22:46:09 -07:00
Taylor Thomas
83a2d7035a Merge pull request #2543 from willise/modify-cmd-help
fix(helm): modify `helm repo update` help info
2017-06-05 22:31:00 -07:00
willise
c8b8c1e6d6 fix(helm): modify helm repo update help info
The former help info may cause misunderstanding that this command
can update content of charts existing in remote respositories while
it does pull charts' info from remote repositories.

This trivial modification leads better understanding.
2017-06-06 10:45:22 +08:00
Michelle Noorali
6bfb08a760 ref(tiller): refactor sortManifests() 2017-06-05 20:52:20 -04:00
Michelle Noorali
83c69a8e10 fix(tiller): track hooks in multi-def manifests
resolves #2290
2017-06-05 20:46:57 -04:00
Sushil Kumar
9b4b4dd1df Updated docs 2017-06-05 16:35:41 -07:00
Sushil Kumar
09bedff7d5 Allow updating chart dependencies when packaging a chart
Added -u flag that would cause helm dep up before running helm package

Fixes https://github.com/kubernetes/helm/issues/2128
2017-06-05 16:34:08 -07:00
Sushil Kumar
0afcd0b5f6 Updated docs to refer new requirements.yaml structure 2017-06-05 14:43:21 -07:00
Sushil Kumar
716be14ad3 Updated code to read requirements.yaml as per following structure
```
- name: <dependency-chart-name>
  alias: <alias-name-to-be-used>
  version: <dependency-chart-version>
  repository: <dependency-chart-version>
```
2017-06-05 14:35:44 -07:00