Matt Butcher
df827ab738
Merge pull request #2050 from jackzampolin/jz-to-toml
...
Add toToml template function
8 years ago
Jack Zampolin
fc60d51be9
Add toToml function
8 years ago
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.
8 years ago
Maxim Ivanov
edd4e56112
fix(helm): resolve symlinks when loading chart
...
Possible fix for #1639
8 years ago
YuviPanda
cd7275069e
Use backtick quotes to avoid excess escaping
8 years ago
YuviPanda
97a655d225
Add tests for ToJson
8 years ago
YuviPanda
5c52fe6ad6
Add ToJson and FromJson template functions
8 years ago
Justin Scott
17c6ae61da
feat(helm): re-enable log warnings for tags and conditions
8 years ago
Justin Scott
fe864ad699
feat(helm): remove logging of tags/condition warnings to pass ci
8 years ago
Justin Scott
58c8aca1cc
feat(helm): fixup if/ele,remove extra string casts, add comments
8 years ago
Justin Scott
004c5bcc88
feat(helm): fix condition when no requirements.yaml exists during tag/condition processing
8 years ago
Justin Scott
faae1f68b6
feat(helm): Check len of correct slice
8 years ago
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
8 years ago
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.
8 years ago
Lachlan Evenson
4d5cf66308
removed Version from create tests as output schema and values aren't tested
8 years ago
Lachlan Evenson
2e0f949d49
bugfix(tiller): replace + with - in Chart version to support Kubernetes constraint
8 years ago
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
8 years ago
Matt Butcher
090e00ddf8
Merge pull request #1686 from kubernetes/feat/1604-fromyaml
...
feat(tiller): add fromYaml to template functions
8 years ago
Euan Kemp
25f74989a5
fix(chartutil): improve 'missing name' error
8 years ago
Matt Butcher
b3d812b346
Merge pull request #1692 from technosophos/fix/allow-global-map-merges
...
fix(tller): allow deep merge of global maps
8 years ago
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.
8 years ago
Matt Butcher
b2d762af48
feat(tiller): add .Release.IsInstall
8 years ago
Matt Butcher
de7c5e5a38
feat(tiller): Add .Release.Revision and .IsUpgrade
...
New properties are available to template developers.
Closes #1554
8 years ago
Matt Butcher
7f4ea91028
Merge pull request #1645 from rodcloutier/Windows_archive_backslash_support
...
fix(helm): added support for compressed charts containing \ in file paths
8 years ago
Matt Butcher
d8540d78f1
feat(tiller): add fromYaml to template functions
...
This adds a fromYaml template function.
Closes #1604
8 years ago
Andrew Stuart
1df13df88d
Include lines functions
8 years ago
Andrew Stuart
6760aa1588
Add Lines method, remove path utils (Sprig pr)
8 years ago
Andrew Stuart
0474bcbcf1
Document ToYaml function
8 years ago
Andrew Stuart
9771973888
Add AsSecrets, AsConfig methods for Files object. Move ToYaml to chartutil
8 years ago
Adam Reese
0c6b6d1c62
fix(*): correct file permissions on source files
8 years ago
Rodrigue Cloutier
37920761a4
fix(helm): added support for compressed charts containing \ in file paths
8 years ago
Matt Butcher
69e50abc6c
Merge pull request #1628 from rodcloutier/Windows_chart_creation_support
...
test(*): fix Windows tests
8 years ago
Rodrigue Cloutier
f3b205c6ef
fix(*): fixed tests for Windows
8 years ago
John Hofman
c38fb120bf
fix(helm): add trimSuffix to helper functions
8 years ago
Matt Butcher
e26d9f9633
Merge pull request #1616 from rollulus/no-exec-yaml
...
fix(helm): write yaml without exec permission
8 years ago
Andrew Stuart
ec020a9e40
Improve formatting of godoc
8 years ago
Andrew Stuart
2de1728f05
feat(helm): Add Files.Glob method to permit file organization
8 years ago
Rollulus
e8eed3cc3e
fix(helm): write yaml with non-exec permission
8 years ago
Matt Butcher
5517d00a48
Merge pull request #1547 from technosophos/feat/packs
...
feat(helm): support 'helm create --starter=mypack'
8 years ago
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.
8 years ago
Adam Reese
62df1ad358
Merge pull request #1549 from adamreese/fix/1519-bubbly-yaml-errors
...
fix(tiller): return yaml parsing errors
8 years ago
Adam Reese
e2ab407209
fix(tiller): return yaml parsing errors
...
closes : #1519
8 years ago
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
8 years ago
Adam Reese
d59f66fc9e
fix(*): fix new linter errors
8 years ago
Sebastian Mandrean
b3d45aef7a
fix(1516): use correct value reference in boilerplate NOTES.txt
8 years ago
Vic Iglesias
4179282760
Dont use privileged port in port-forward of default chart
8 years ago
Vic Iglesias
5af08fa5b5
Fix labels in NOTES.txt
8 years ago
Vic Iglesias
8527f2f96c
Use chart name for container name
8 years ago
Vic Iglesias
156d706dd1
Use internal port for health check
8 years ago
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
8 years ago