Adnan Abdulhussein
f8b2c5eb57
fix(create): incorrect URL in default NOTES.txt
2017-05-02 19:15:18 +01:00
Matt Butcher
46035c35c4
fix(tiller): fix TOML panic
...
This fixes a TOML panic by replacing one parser library with another.
The older library did not gracefully handle reflection issues, and so
was prone to panic. The new one is not great, but it doesn't seem to
panic.
Closes #2271
2017-05-01 11:25:51 -06:00
Matthias Thubauville
ce505f16e6
Fix indent for defaultDeployment
2017-04-19 09:50:11 +02:00
Sushil Kumar
99065aa331
Validates chart-dir before running dependency list command
...
Fixes issues/2276: helm dependency list hangs if run on large directory
2017-04-17 14:23:04 -07:00
Taylor Thomas
d03311b45a
Merge pull request #2188 from scottrigby/chartutil-ingress-example
...
chartutil create ingress example
2017-04-13 09:21:24 -07:00
Matt Butcher
19b111b123
fix(helm): fix nil pointer in requirements.go
...
This fixes a segfault that was the result of assigning to a property of
a nil pointer.
Closes #2244
2017-04-12 12:06:33 -06:00
Adam Reese
85c41ef11a
ref(*): kubernetes v1.6
...
Rebase on kubernetes v1.6
2017-04-11 15:42:23 -07:00
Scott Rigby
5bdcbee9af
Change secret name to something more standard
2017-04-08 23:17:51 -04:00
Scott Rigby
2be4547d13
Change to hosts array, and parameterize serviceName and servicePort
2017-04-08 23:17:23 -04:00
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
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
Scott Rigby
22cec7cdc1
Fix spacing
2017-03-25 20:01:08 -04:00
Scott Rigby
37fd7df627
chartutil create ingress example
2017-03-25 17:42:37 -04:00
Matt Butcher
df827ab738
Merge pull request #2050 from jackzampolin/jz-to-toml
...
Add toToml template function
2017-03-06 14:37:55 -07:00
Jack Zampolin
fc60d51be9
Add toToml function
2017-03-01 10:19:21 -08:00
Matthew Fisher
de6fb23e7a
expose LoadFiles as a usable function
...
In third-party libraries, charts can be embedded in memory rather than in files, directories or
tarballs. Exposing LoadFiles allows a third-party library the ability to load static templates
in and spit out a *chart.Chart.
2017-02-28 15:47:40 -08:00
Maxim Ivanov
edd4e56112
fix(helm): resolve symlinks when loading chart
...
Possible fix for #1639
2017-02-23 23:09:57 +00:00
YuviPanda
cd7275069e
Use backtick quotes to avoid excess escaping
2017-02-21 12:59:16 -08:00
YuviPanda
97a655d225
Add tests for ToJson
2017-02-21 01:08:18 -08:00
YuviPanda
5c52fe6ad6
Add ToJson and FromJson template functions
2017-02-21 00:34:17 -08:00
Justin Scott
17c6ae61da
feat(helm): re-enable log warnings for tags and conditions
2017-02-11 13:39:15 -08:00
Justin Scott
fe864ad699
feat(helm): remove logging of tags/condition warnings to pass ci
2017-02-11 12:56:43 -08:00
Justin Scott
58c8aca1cc
feat(helm): fixup if/ele,remove extra string casts, add comments
2017-02-11 12:56:43 -08:00
Justin Scott
004c5bcc88
feat(helm): fix condition when no requirements.yaml exists during tag/condition processing
2017-02-11 12:56:43 -08:00
Justin Scott
faae1f68b6
feat(helm): Check len of correct slice
2017-02-11 12:56:43 -08:00
Justin Scott
8ef733ca7d
feat(helm): add conditions and tags
...
This feature adds the ability to selectively control the loading of charts using entries in top chart's values.
When 'helm install --set tags.mytag=true', charts with that tag will be enabled unless disabled in parent by condition.
When 'helm install --set mychart.enabled=true', charts with that yaml path specified will be enabled.
Closes #1837
2017-02-11 12:56:43 -08:00
z00358552
b0d4cacd54
fix(helm) change name length limit to 63 for helm create
...
since kubernetes 1.4, the upper limit for resource name is 63 characters,
so it is better to change the template when running `helm create` accordingly.
2017-01-17 15:51:31 +08:00
Lachlan Evenson
4d5cf66308
removed Version from create tests as output schema and values aren't tested
2017-01-11 12:22:21 -08:00
Lachlan Evenson
2e0f949d49
bugfix(tiller): replace + with - in Chart version to support Kubernetes constraint
2017-01-11 11:21:14 -08:00
Matt Butcher
cb0a6c7e07
feat(tiller): add {{.Capabilities}} object
...
This adds the {{.Capabilities}} object to the template variables so that
chart authors can write charts that are aware of teh Kubernetes
capabilities of the current cluster.
Closes #1608
2017-01-09 18:09:20 -07:00
Matt Butcher
090e00ddf8
Merge pull request #1686 from kubernetes/feat/1604-fromyaml
...
feat(tiller): add fromYaml to template functions
2016-12-19 10:46:24 -07:00
Euan Kemp
25f74989a5
fix(chartutil): improve 'missing name' error
2016-12-18 23:19:01 -08:00
Matt Butcher
b3d812b346
Merge pull request #1692 from technosophos/fix/allow-global-map-merges
...
fix(tller): allow deep merge of global maps
2016-12-16 16:29:13 -07:00
Matt Butcher
6faf4675ac
fix(tller): allow deep merge of global maps
...
This reverts a previous decision to only do shallow merges of globals.
It allows globals to be nested maps.
2016-12-15 17:06:30 -07:00
Matt Butcher
b2d762af48
feat(tiller): add .Release.IsInstall
2016-12-15 15:04:36 -07:00
Matt Butcher
de7c5e5a38
feat(tiller): Add .Release.Revision and .IsUpgrade
...
New properties are available to template developers.
Closes #1554
2016-12-14 18:06:34 -07:00
Matt Butcher
7f4ea91028
Merge pull request #1645 from rodcloutier/Windows_archive_backslash_support
...
fix(helm): added support for compressed charts containing \ in file paths
2016-12-14 18:13:58 -06:00
Matt Butcher
d8540d78f1
feat(tiller): add fromYaml to template functions
...
This adds a fromYaml template function.
Closes #1604
2016-12-14 16:47:25 -07:00
Andrew Stuart
1df13df88d
Include lines functions
2016-12-12 18:53:32 -07:00
Andrew Stuart
6760aa1588
Add Lines method, remove path utils (Sprig pr)
2016-12-12 17:19:47 -07:00
Andrew Stuart
0474bcbcf1
Document ToYaml function
2016-12-09 13:21:48 -07:00
Andrew Stuart
9771973888
Add AsSecrets, AsConfig methods for Files object. Move ToYaml to chartutil
2016-12-09 12:53:53 -07:00