Sushil Kumar
541d052202
First alias would be dependency rename
...
Fixes https://github.com/kubernetes/helm/issues/2508
8 years ago
Sushil Kumar
42aa81e7ca
Added tests for alias(es) for chart dependencies
8 years ago
Sushil Kumar
34f9c67e04
Shallow copy existing chart details
8 years ago
Sushil Kumar
156d48bc3b
Adds alias for dependencies
...
Fixes https://github.com/kubernetes/helm/issues/2383
Sample `requirements.yaml` I used for test purpose was for wordpress chart
```dependencies:
- name: mariadb
version: 0.5.10
repository: https://kubernetes-charts.storage.googleapis.com/
alias:
- db1
- db2
- db3
```
8 years ago
lead4good
bb4be33331
fixed fromYaml | toJson
8 years ago
Adnan Abdulhussein
f8b2c5eb57
fix(create): incorrect URL in default NOTES.txt
8 years ago
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
8 years ago
Matthias Thubauville
ce505f16e6
Fix indent for defaultDeployment
8 years ago
Sushil Kumar
99065aa331
Validates chart-dir before running dependency list command
...
Fixes issues/2276: helm dependency list hangs if run on large directory
8 years ago
Taylor Thomas
d03311b45a
Merge pull request #2188 from scottrigby/chartutil-ingress-example
...
chartutil create ingress example
8 years ago
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
8 years ago
Adam Reese
85c41ef11a
ref(*): kubernetes v1.6
...
Rebase on kubernetes v1.6
8 years ago
Scott Rigby
5bdcbee9af
Change secret name to something more standard
8 years ago
Scott Rigby
2be4547d13
Change to hosts array, and parameterize serviceName and servicePort
8 years ago
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
8 years ago
Justin Scott
75ea566413
Correct indention of YAML field in subchartB
8 years ago
Justin Scott
31e57d8921
Remove commented code
8 years ago
Justin Scott
3bf143f052
Fix codefences and nits in charts.md. Correct whitespace in charts. Add clarity to description of ImportValues requirements field.
8 years ago
Justin Scott
7ea4d8c7c4
Refactor so parent's values win
8 years ago
Justin Scott
4a5721fb36
Fixup style and errors
8 years ago
Justin Scott
007bb9dbae
Implement 'exports' convetion for simple list items
8 years ago
Justin Scott
2bd4d1d003
Cleanup old todo, unused log and value for ImportValues feature
8 years ago
Justin Scott
d1424f6c08
Handle missed error and make error messages unique
8 years ago
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
8 years ago
Scott Rigby
22cec7cdc1
Fix spacing
8 years ago
Scott Rigby
37fd7df627
chartutil create ingress example
8 years ago
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