Commit graph

20 commits

Author SHA1 Message Date
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
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
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
Adam Reese
0c6b6d1c62 fix(*): correct file permissions on source files 2016-12-07 09:09:38 -08:00
Rodrigue Cloutier
37920761a4 fix(helm): added support for compressed charts containing \ in file paths 2016-12-06 09:13:40 -05:00
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
2016-10-11 18:59:45 -06:00
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
2016-10-04 12:18:22 -06:00
Matt Butcher
68dd4c9a66 fix(proto): remove unused fields
Some fields were introduced to Chart metadata after Alpha.4, but are not
going to be used ever. So we made the decision to remove them before we
get stuck with ugliness.

This should not break compatibility, since these fields were not used.
2016-09-28 16:22:41 -06:00
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.
2016-09-23 16:24:22 -06:00
Matt Butcher
a5921faf99 feat(chartutils): add support for requirements.yaml 2016-09-23 14:57:56 -06:00
Matt Butcher
34577d1ebc feat(charts): add 'dependencies:' to Chart.yaml
This feature adds a dependencies section to a chart file. It is a
prerequisite for adding automated chart management tooling as described
in #874.
2016-09-06 17:34:54 -06:00
Matt Butcher
a46a033de4 feat(chart): support 'image:URL' in charts.
Closes #1034
2016-08-22 16:05:40 -06:00
Matt Butcher
2e95230b30 fix(helm): fix helmignore evaluation of dirs
This adds a few extra settings to the default .helmignore file. In
doing this, I found a bug that some directory patterns are not
evaluated correctly. Fixed that and added tests.

Closes #989
Closes #1027
2016-08-05 15:50:02 -06:00
Matt Butcher
60f5341b91 feat(chartutil): support global variables
This provides support for "global" variables. It does this by
declaring "global" to be a special namespace. It then copies this
namespace into every subchart, coalescing it into any "global"
namespace found there.

The net result is that if "global.foo" is set in the YAML file, it
will be available to every chart/subchart as ".global.foo" regardless of
where that chart is in the subchart tree.
2016-06-14 11:24:09 -06:00
Matt Butcher
e8109048a9 fix(chartutil): move values coalescing into chartutil 2016-06-09 14:10:12 -06:00
Matt Butcher
9ca8c27e16 fix(*): change TOML to YAML 2016-06-06 21:12:36 -06:00
Matt Butcher
7aa4ffa4d4 feat(chartutil): switch TOML to YAML 2016-06-06 21:09:27 -06:00
Adam Reese
818c878700 chore(*): use k8s.io as the import path 2016-06-06 17:17:04 -07:00
Matt Butcher
25053e6ada feat(pkg/chartutil): add chartutil package 2016-05-26 09:41:43 -06:00