llsheldon
0440b54bbf
fix(helm):Fix dependency aliaes not working
...
The alias functionality only works when a hardcoded version
is used. Any use of semver logic causes unexpected behavior.
I use version.IsCompatibleRange to check the dependency version.
Closes #2794
7 years ago
Matt Butcher
883da97396
Merge pull request #2607 from sushilkm/issues/2599
...
Adds charts in "charts\" directory to dependencies
7 years ago
Sushil Kumar
7ce5c7925b
Adds charts in "charts\" directory to dependencies
...
Dependencies should be processed even if they are not added to requirements.yaml
Fixes https://github.com/kubernetes/helm/issues/2599
8 years ago
Sushil Kumar
bfd74c35e9
Added omitempty to Requirements struct
...
This was needed to get correct sha for requirements.yaml and requirements.lock
Fixes https://github.com/kubernetes/helm/issues/2598
8 years ago
Taylor Thomas
e3250e3319
Merge pull request #2534 from sushilkm/issues/2508
...
First alias would be dependency rename
8 years ago
Sushil Kumar
716be14ad3
Updated code to read requirements.yaml as per following structure
...
```
- name: <dependency-chart-name>
alias: <alias-name-to-be-used>
version: <dependency-chart-version>
repository: <dependency-chart-version>
```
8 years ago
Sushil Kumar
541d052202
First alias would be dependency rename
...
Fixes https://github.com/kubernetes/helm/issues/2508
8 years ago
Justin Scott
40052d3e8f
fix(helm): remove unnecessary values merge in processImportValues
...
The function chartutil.processImportValues was merging values unnecessarily and incorrectly merging --set values.
Closes #2331
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
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
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
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
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
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
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.
8 years ago
Matt Butcher
a5921faf99
feat(chartutils): add support for requirements.yaml
8 years ago