Commit graph

96 commits

Author SHA1 Message Date
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
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
69e50abc6c Merge pull request #1628 from rodcloutier/Windows_chart_creation_support
test(*): fix Windows tests
2016-12-05 13:30:25 -07:00
Rodrigue Cloutier
f3b205c6ef fix(*): fixed tests for Windows 2016-12-05 11:17:47 -05:00
John Hofman
c38fb120bf fix(helm): add trimSuffix to helper functions 2016-12-05 10:01:25 +01:00
Matt Butcher
e26d9f9633 Merge pull request #1616 from rollulus/no-exec-yaml
fix(helm): write yaml without exec permission
2016-12-01 13:00:18 -07:00
Andrew Stuart
ec020a9e40
Improve formatting of godoc 2016-12-01 11:07:08 -07:00
Andrew Stuart
2de1728f05
feat(helm): Add Files.Glob method to permit file organization 2016-12-01 09:09:46 -07:00
Rollulus
e8eed3cc3e fix(helm): write yaml with non-exec permission 2016-12-01 13:42:53 +01:00
Matt Butcher
5517d00a48 Merge pull request #1547 from technosophos/feat/packs
feat(helm): support 'helm create --starter=mypack'
2016-11-22 17:44:48 -07:00
Matt Butcher
784a339627
feat(helm): support 'helm create --pack=mypack'
This adds support for packs, pre-configured chart patterns that can be
used to quickly create a custom layout for your new chart.
2016-11-22 16:27:54 -07:00
Adam Reese
62df1ad358 Merge pull request #1549 from adamreese/fix/1519-bubbly-yaml-errors
fix(tiller): return yaml parsing errors
2016-11-15 10:56:02 -08:00
Adam Reese
e2ab407209 fix(tiller): return yaml parsing errors
closes: #1519
2016-11-14 14:30:33 -08:00
Matt Butcher
0a163a2a3a
fix(helm): helm create will not overwrite existing files
It will ignore files if they exist, and create files if they were
missing.

Closes #1515
2016-11-14 11:49:19 -07:00
Adam Reese
d59f66fc9e fix(*): fix new linter errors 2016-11-11 19:24:11 -08:00
Sebastian Mandrean
b3d45aef7a fix(1516): use correct value reference in boilerplate NOTES.txt 2016-11-06 22:44:25 +01:00
Vic Iglesias
4179282760 Dont use privileged port in port-forward of default chart 2016-11-01 16:14:45 -07:00
Vic Iglesias
5af08fa5b5 Fix labels in NOTES.txt 2016-11-01 16:10:58 -07:00
Vic Iglesias
8527f2f96c Use chart name for container name 2016-11-01 16:09:15 -07:00
Vic Iglesias
156d706dd1 Use internal port for health check 2016-11-01 16:08:20 -07:00
Jim
7a054e0e6b fix(pkg/chartutil): add error if chart yaml not in directory
For archived files the Chart.yaml file should be contained in a base
directory. This commit adds an error when the Chart.yaml file is found
in the root directory.

Fixes #1171
2016-10-31 22:25:38 -04:00
Vic Iglesias
665615f30f Remove **** from default notes 2016-10-26 09:34:11 -07:00
Vic Iglesias
2b2e1d59c8 Simplify final logic block in create 2016-10-26 09:32:40 -07:00
Vic Iglesias
06d9ccd038 Fix formatting 2016-10-25 17:52:16 -07:00
Vic Iglesias
cd34492b5a Add tests for new files in create 2016-10-25 17:48:49 -07:00
Vic Iglesias
8d867657bb Add resources and probes 2016-10-25 17:45:08 -07:00
Vic Iglesias
4120e67240 Add deployment, service and NOTES to create 2016-10-25 17:26:47 -07: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
Adam Reese
f71230ccd3 fix(*): resolve go linter issues 2016-10-10 14:58:33 -07:00