Adam Reese
2b81eea1e2
ref(*): replace byte array with map for Release config
...
Signed-off-by: Adam Reese <adam@reese.io>
2018-12-04 15:57:24 -08:00
Adam Reese
6fc8c9e079
ref(pkg/chartutil): simplify chart dependency unit tests
...
- simplify unit tests
- refactor typed errors
- unexport internal functions
Signed-off-by: Adam Reese <adam@reese.io>
2018-11-29 10:30:52 -08:00
Adam Reese
825b15c763
Merge pull request #4972 from adamreese/ref/chart-dependencies
...
ref(pkg/chart): rename Requirements to Dependencies
2018-11-28 10:55:08 -08:00
Adam Reese
85aef0d3d7
ref(pkg/chart): rename Requirements to Dependencies
...
Signed-off-by: Adam Reese <adam@reese.io>
2018-11-28 10:20:33 -08:00
roc
79f88dfc5e
ref(url) update helm's github url ( #4962 )
...
https://github.com/kubernetes/helm -> https://github.com/helm/helm
https://github.com/kubernetes/charts -> https://github.com/helm/charts
Signed-off-by: Roc Chan <roc@imroc.io>
2018-11-28 10:08:38 -08:00
Adam Reese
9e1e26f01e
ref(pkg/chartutil): attempt to make requirements processing readable
...
Signed-off-by: Adam Reese <adam@reese.io>
2018-11-14 12:41:14 -08:00
Adam Reese
21259507bd
ref(*): rename requirements.lock to Chart.lock
...
Signed-off-by: Adam Reese <adam@reese.io>
2018-08-29 14:43:37 -07:00
Adam Reese
f7a7a157ce
ref(*): merge requirement.yaml into Chart.yaml
...
Signed-off-by: Adam Reese <adam@reese.io>
2018-08-29 14:05:37 -07:00
Adam Reese
516c53dae6
ref(chart): use map for chart.Values
...
Signed-off-by: Adam Reese <adam@reese.io>
2018-08-29 09:56:19 -07:00
Adam Reese
4f26b658d8
change copyright to "Copyright The Helm Authors"
2018-08-24 12:03:55 -07:00
Adam Reese
f012940d9c
ref(*): refactor chart/chartutil
...
ref(chartutil): move chart loading out of chartutil into new package
add chart loader interface to allow lazy loading
feat(chart): create chart accessors
ref(*): cleanup requirements
ref(tiller): remove optional template engines
ref(tiller): simplify sorting releases and hooks
ref(*): code simplification
ref(hapi): move chart package out of hapi
ref(chart): add requirements and lock to Chart struct
2018-08-24 11:28:29 -07:00
Adam Reese
aa859e3f88
feat(*): remove Time, Namespace, and Revision from template functions
...
Removes Time, Namespace, and Revision from being exposed to templates to
make template rendering discrete and repeatable.
2018-05-18 12:09:54 -07:00
Adam Reese
b1128abf4f
ref(*): s/tiller/helm/
2018-05-10 09:41:31 -07:00
Adam Reese
726e3c41be
feat(*): print stacktrace on error with debug enabled
2018-05-10 09:34:41 -07:00
Adam Reese
75c4df0b56
ref(tests): use golden files for testing command output
2018-05-09 08:37:20 -07:00
Adam Reese
36e034551f
ref(*): rebuild build version object
2018-05-02 15:26:26 -07:00
Adam Reese
29e772f631
ref(*): replace TillerVersion with HelmVersion
2018-04-20 00:37:34 -07:00
Adam Reese
4c95185164
ref(*): replace chart.config with []byte
2018-04-20 00:13:19 -07:00
Adam Reese
c5a76deba3
ref(*): use go conventions for naming types
2018-04-19 11:12:46 -07:00
Adam Reese
36536d77ba
ref(*): remove protobuf any type
2018-04-18 16:28:50 -07:00
Adam Reese
91a6ebfed5
ref(*): remove protobuf timestamps
2018-04-18 15:35:37 -07:00
Adam Reese
6345f04190
ref(hapi): convert protobuf to go types
2018-04-18 14:53:38 -07:00
Adam Reese
68c0b6a24a
ref(proto): remove unused protobufs
2018-04-17 10:17:42 -07:00
Matthew Fisher
6f02d9e412
Merge pull request #3837 from consideRatio/toYaml-pr
...
toYaml - Fix #3470 and #3410 's trailing \n issues
2018-04-11 14:21:38 -07:00
Steffen Windoffer
8bd42d2645
remove unused servicePort from default ingress template
2018-04-06 11:21:54 +02:00
Erik Sundell
05a1f7f46c
Updated tests for PR #3837
2018-04-06 00:59:22 +02:00
Erik Sundell
35132d141c
toYaml - Fixes #3410 - trailing \n issue
...
`toYaml` utilized by `.Files` was introducing a new line. It is an issue since the new line is part of a functions output, it can't be whitespace chomped away so it would require a `trimSuffix "\n"` pipe. This commit trims one trailing `\n` from the toYaml output.
2018-04-06 00:40:43 +02:00
Zack Williams
1d3ae54185
Fix #3822
2018-04-03 13:10:56 -07:00
adshmh
1a55161a53
Fix several golint warnings ( #3756 )
...
* fix(helm): fix golint warning due to ApiVersionV1 constant name
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
* fix(helm): fix golint warning due to ResolveChartVersionAndGetRepo comment
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
* fix(helm): fix golint warnings on HttpGetter type and SetCredentials method missing a comment
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
* fix(helm):fix golint warning due to comment on FindChartInAuthRepoURL function
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
* fix(helm): fix golint warning due to RepoFile type name
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
* fix(helm): fix golint warning due to ParseString comment
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
2018-03-27 13:06:04 -07:00
Matthew Fisher
b5af54d44c
Merge pull request #3567 from jumal/master
...
Create missing directories when saving files in chartutil.SaveDir
2018-02-28 12:59:43 -08:00
Matthew Fisher
86ae040bfa
Merge pull request #3491 from oilbeater/fix-defer-in-loop
...
defer in loop may cause resource leak
2018-02-27 19:52:00 +00:00
Jean-Philippe Courson
5b77335415
Create missing directories when saving files in chartutil.SaveDir
2018-02-24 17:12:37 +00:00
Thibaut Rousseau
a59d212512
docs: Fix FromJson comment
2018-02-12 00:33:28 +01:00
oilbeater
757db3a062
defer in loop may cause resource leak
2018-02-10 16:58:39 +08:00
Matthew Fisher
14c7be1f92
Merge pull request #3288 from bradbeam/starter
...
feat Making starter templates more versatile
2018-01-19 11:14:21 -08:00
Matt Farina
c359ea66ed
Merge pull request #3350 from mattfarina/fix/3349
...
fix(capabilities): Adding GitVersion to default set
2018-01-19 10:18:20 -05:00
Matt Farina
d5a865b5f4
fix(capabilities): Adding GitVersion to default set
...
Prior to this, using the semver template functions with the full
version, which is represented in the GitVersion, was not possible
for helm template and lint commands because the property was not
populated by default. This update adds default handling.
Closes #3349
2018-01-16 13:02:30 -05:00
Reinhard Nägele
f47e1619b0
Update initial chart experience
...
* Add template for chart name
* Use named ports and simplify service configuration
* Add affinity
* Add tolerations
* Use 'with' statements where possible
* Enhance ingress
* Add fullnameOverride to fullname template
2018-01-12 14:41:03 +01:00
Matthew Fisher
e1027fae73
refactor symWalk() into pkg/sympath ( #3199 )
...
* refactor symWalk() into pkg/sympath
* add Go copyright
* remove dead code
2018-01-08 15:13:13 -08:00
Adam Reese
a31e3b8fe1
ref(*): kubernetes v1.9 support ( #3234 )
2018-01-05 12:30:26 -08:00
Brad Beam
8e0eface2c
Making starter templates more versatile
...
This adds support for changing '<CHARTNAME>'
occurances in starter chart to the destination
chart name
2018-01-01 04:34:38 +00:00
Nauris Sadovskis
bd8178d50b
Fix package url
2017-12-14 12:09:33 +00:00
Matthew Fisher
7c79d1c765
Merge pull request #3193 from burdiyan/master
...
ref(helm): improve fullname template in starter chart
2017-11-23 07:45:51 -08:00
Johnny Bergström
7cc610960f
Walk symbolic link directories
...
Continue walking symlinks to be able to use them
for sub-charts. Useful when not specifying requirements
but still want to share charts locally.
2017-11-23 11:41:09 +01:00
Alexandr Burdiyan
f432e07126
ref(helm): improve fullname template in starter chart
...
Closes #1186
2017-11-23 11:23:32 +01:00
Johnny Bergström
d762a42168
Fix helmignore for .* ( #3114 )
...
When the first rule matching entry for top level dir
will be empty string, the .* rule will match.
Skip this entry as it's not needed for processing.
2017-11-22 09:20:41 -07:00
Maxime Guyot
c864ba179e
Add fullnameOverride
2017-11-10 10:52:56 +01:00
Dhilip
67af4998de
helm create all defined template names should be namespaced … ( #2845 )
...
* helm create all defined template names should be namespaced https://docs.helm.sh/chart_best_practices/#names-of-defined-templates
* Update Doc
* Update example
2017-10-06 09:04:53 -06:00
Matthew Fisher
e3e1116eaa
Merge pull request #2857 from llsheldon/fix-dependency-alias
...
fix(helm):Fix dependency aliaes not working
2017-10-03 10:59:11 -07:00
Matthew Fisher
f278675f98
remove references to facebookgo/symwalk
2017-09-26 15:21:40 -07:00