Commit graph

658 commits

Author SHA1 Message Date
Justin Scott
8c720ee2c2 fix (pkg/chartutil): correctly parse input values for ProcessRequirementsEnabled
Fixes a bug where tags and conditions specified in values.yaml were not being respeceted, causing incorrect loading of subcharts.

Closes #2139
2017-04-04 13:40:13 -07:00
Matt Butcher
6d5b3bbb21 Merge pull request #2112 from jascott1/feat/1995-import_child_values
feat(helm): import child values to parent
2017-04-04 14:12:15 -06:00
Adam Reese
e4d39fd8c8 fix(*): add missing proto for weight hook 2017-04-04 01:00:38 -07:00
Taylor Thomas
f7f8552644 Merge pull request #2203 from seh/sort-more-kinds-for-installation
Add more object kinds to sorted installation order
2017-04-03 14:41:54 -07:00
Taylor Thomas
9cfdbd1f77 Merge pull request #2174 from qwangrepos/repo-alias
feat(helm): add support for repo alias
2017-04-03 14:25:57 -07:00
Matt Butcher
9665db7d16 Merge pull request #2157 from jchauncey/hook-weights
feat(hooks): Adds weighted hooks
2017-04-03 14:34:04 -06:00
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
2017-04-03 13:54:45 -06:00
Taylor Thomas
c1540795b0 Merge pull request #2190 from anubhavmishra/whitespace-yaml-parsing
fix(helm): manifests string parsing works for newlines in the manifests
2017-04-03 11:10:34 -07:00
Jonathan Chauncey
b9ef8dbe56 fix(hooks): Change annotation from hookWeight to hook-weight 2017-04-03 11:25:39 -04:00
Qin Wang
c010da4d93 feat(helm): add support for repo alias
support repo alias in requirements.yaml
The syntax should be like: "alias:reponame" or "@reponame".

closes: #1985
2017-04-03 08:23:55 -07:00
Matt Butcher
55791e227e Merge pull request #2148 from technosophos/fix/2118-broken-status
fix(tiller): fix helm status failure on missing resource
2017-04-03 09:18:50 -06:00
Anubhav Mishra
68d400cd38 Update comment. 2017-04-01 17:54:50 -07:00
Taylor Thomas
5a86aaf99a Merge pull request #2206 from sushilkm/issues/2204
Fixes TestInstallRelease_VerifyOptions & TestUpdateRelease_VerifyOptions
2017-04-01 12:16:01 -07:00
Justin Scott
75ea566413 Correct indention of YAML field in subchartB 2017-03-31 10:46:50 -07:00
Justin Scott
31e57d8921 Remove commented code 2017-03-31 10:25:59 -07:00
Justin Scott
3bf143f052 Fix codefences and nits in charts.md. Correct whitespace in charts. Add clarity to description of ImportValues requirements field. 2017-03-31 10:19:08 -07:00
Justin Scott
7ea4d8c7c4 Refactor so parent's values win 2017-03-31 10:19:08 -07:00
Justin Scott
4a5721fb36 Fixup style and errors 2017-03-31 10:19:08 -07:00
Justin Scott
007bb9dbae Implement 'exports' convetion for simple list items 2017-03-31 10:19:08 -07:00
Justin Scott
2bd4d1d003 Cleanup old todo, unused log and value for ImportValues feature 2017-03-31 10:19:08 -07:00
Justin Scott
d1424f6c08 Handle missed error and make error messages unique 2017-03-31 10:19:08 -07:00
Justin Scott
0e81899f5f WIP feat(helm): import child values to parent
Implements a mechanism in requirements.yaml to allow the import
and re-parenting of value table from child chart.

Closes #1995
2017-03-31 10:19:08 -07:00
Sushil Kumar
a484d00e33 Fixes TestInstallRelease_VerifyOptions & TestUpdateRelease_VerifyOptions
Following tests were failing unnoticed
- [ ] TestUpdateRelease_VerifyOptions
- [ ] TestUpdateRelease_VerifyOptions

Fixed those tests for the reason of failure.
Also added error checking to rest of the tests in same test-file,
so that new failures do not un-noticed.
2017-03-30 13:27:04 -07:00
Steven E. Harris
4178ec08ac Add more object kinds to sorted installation order
The following kinds are newly addressed:

  CronJob
  LimitRange
  ReplicaSet
  ResourceQuota
  StatefulSet

Furthermore, adjust the installation and uninstallation order to
better respect likely dependencies. Bare pods remain a difficult one
to place properly in both sequences.
2017-03-30 12:11:36 -04:00
Taylor Thomas
890b6f5627 Merge pull request #2200 from seh/sort-rbac-roles-and-bindings
Sort dependent RBAC role and binding kinds during installation and uninstallation
2017-03-29 20:00:01 -07:00
Taylor Thomas
e03d605b88 Merge pull request #2194 from qwangrepos/bug-2103
fix(helm): local path in requirements.yaml relative to working dir
2017-03-29 19:32:35 -07:00
Steven E. Harris
7ccfc6d7d4 Sort dependent RBAC role and binding kinds
During installation and uninstallation, handle the RBAC-related
ClusterRole, ClusterRoleBinding, Role, and RoleBinding kinds in an
order that respects their potential referential integrity, namely that
ClusterRoleBindings can refer to ClusterRoles and ServiceAccounts, and
RoleBindings can refer to ClusterRoles, Roles, and ServiceAccounts.

Fixes #2199.
2017-03-29 17:31:21 -04:00
Qin Wang
e6b79e138b fix(helm): local path in requirements.yaml relative to working dir
closes bug: 2103
2017-03-28 22:03:00 -07:00
Taylor Thomas
b7af2e21e4 Merge pull request #2187 from johnw188/sortIndexOnDownload
fix(helm): Don't assume index.yaml is sorted
2017-03-28 19:59:01 -07:00
Anubhav Mishra
76ebf20aac fix(helm): fix typo 2017-03-28 16:32:05 -07:00
Anubhav Mishra
b208258f53 fix(helm): more quotation fixes 2017-03-28 16:20:17 -07:00
Anubhav Mishra
6aeadb272d fix tests 2017-03-27 22:52:58 -07:00
Anubhav Mishra
1cf197d69e fix(helm): fix comments and removed unwanted split 2017-03-27 22:48:01 -07:00
Anubhav Mishra
73fd0e4557 fix(tiller): now better formatting 2017-03-27 22:40:25 -07:00
Anubhav Mishra
837da9360e fix(helm): using regexp to match whitespaces instead 2017-03-26 23:26:00 -07:00
Anubhav Mishra
c17ce5f9c1 fix(tiller): adding kind to tiller client logs
Closes #2162
2017-03-26 01:11:41 -07:00
Anubhav Mishra
611bba0f51 fix(helm): manifests string parsing works for newlines in the manifests
Trying to fix #2158
2017-03-25 19:27:05 -07:00
John Welsh
e42f39a114 Forgot gofmt 2017-03-25 03:24:32 -07:00
John Welsh
f4486d4858 fix(helm): Don't assume index.yaml is sorted
This change sorts the helm index file after downloading from a repo.

Closes #2186
2017-03-25 01:57:25 -07:00
Jonathan Chauncey
05d0fcb774 feat(hooks): Adds weighted hooks
closes #2136
* Adds new annotation `helm.sh/hookWeight`
* Sorts executing hooks of similar kind in ascending order
* There is no upper or lower bounds on the weights
2017-03-24 11:31:48 -04:00
Sushil Kumar
cfd041eed5 Added unit tests
Added tests for:
- [ ] pkg/version/versions.go
- [ ] pkg/repo/repo.go
2017-03-23 16:11:01 -07:00
Matt Butcher
27c3ff595a
fix(tiller): fix helm status failure on missing resource
This fixes a bug in which 'helm status' fails if any of the expected
resources are missing in Kubernetes. Now it prints a list of missing
resources at the end of the status report.

Closes #2118
2017-03-20 18:21:15 -06:00
Adam Reese
390217d416 ref(helmpath): simplify path building of helmpath 2017-03-15 22:00:43 -07:00
Adam Reese
d4061b5b60 fix(tiller): enforce release name length on uninstall
If a selector is created from invalid values it will return nil.

Which is EVERYTHING!!!

closes: #2115
2017-03-15 14:10:44 -07:00
Adnan Abdulhussein
8210dc7883 feat(proto): add deprecated field 2017-03-14 16:32:43 +00:00
Matt Butcher
785a1df52b Merge pull request #2077 from technosophos/feat/2036-appVersion
feat(proto): add appVersion field
2017-03-13 12:50:17 -06:00
libesz
41f7c97a48 Fixing plugin test
In the TestLoadDir test case, currently reflect.DeepEqual is expected to fail by error. Expected metadata is different than in the fixture yaml. Also, the type of the struct is mismatching in DeepEqual call (struct vs pointer to struct).
2017-03-12 14:26:59 +01:00
Brian
6da348baef Merge pull request #2088 from Ladicle/fix/helm
helm(version): set 5 seconds timeout
2017-03-10 18:46:10 -07:00
Taylor Thomas
185fb4f43c fix(tiller): Fixes problem with --wait on headless Services
Headless services (with `clusterIP` set to `None`) were reporting
as not being ready because they didn't have an IP address. This adds
a logic check to ignore those services.
2017-03-10 11:02:22 -08:00
Ladicle
c359ddf43c helm(version): set 5 seconds timeout
close #1972
2017-03-10 15:12:06 +09:00