Commit graph

206 commits

Author SHA1 Message Date
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
Matthew Fisher
211f5f6f33 Revert "fix(helm): resolve symlinks when loading chart"
This reverts commit edd4e56112.
2017-09-26 15:02:33 -07:00
Matthew Fisher
cf3fc21e81 Merge pull request #2898 from zlabjp/kube-version
feat(helm): add --kube-version flag to helm template
2017-09-25 15:19:05 -07:00
carlory
ad2d8e434a fix fromjson comment 2017-09-18 15:46:36 +08:00
carlory
b9d3974df0 fix func comment 2017-09-18 15:38:35 +08:00
Kazuki Suda
fa3ee5aecf feat(helm): add --kube-version flag to helm template
This commit adds --kube-version flag to helm template. It allows you to
override the Kubernetes version used as Capabilities.KubeVersion.Major/Minor (e.g. 1.7).
2017-09-11 11:22:00 +09:00
Kazuki Suda
3508cebbf6 Use the same defaults as done in helm lint for Capabilities 2017-09-11 10:09:42 +09:00
Michelle Noorali
84bb77f183 Merge pull request #1997 from AmandaCameron/issue/1401
Take a crack at Issue #1401
2017-09-08 07:58:37 -06:00
Amanda Cameron
415e52bf55 Add support for sub-directory scanning as in issue #1401 2017-09-08 09:33:44 -04:00
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
2017-09-07 19:46:13 +08:00