Commit Graph

199 Commits

Author SHA1 Message Date
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
Adnan Abdulhussein
8fd8a7c324 fix(create): port-forward should use internal port
cc @james-w
2017-09-07 10:43:53 +01:00
Justin Scott
4a02a71f1e WIP feat(helm): add template command
This adds the functionality from the helm-template plugin to allow the
rendering of templates without Tiller.

Closes #2755
2017-08-28 18:04:56 -07:00
Kira
4c1a47480e feat(2450): add annotations to chart metadata (#2671)
* feat(2450): add options to chart metadata
2017-08-16 18:27:13 -04:00
Maxime Guyot
bbf2d6b7e8 Fix the default NOTES.txt 2017-08-09 13:29:51 +02:00
Miouge1
6cfed9d635 Updating default values.yaml comments
Following the instructions to simply uncomment the following lines results in a invalid yaml output
2017-07-27 10:53:52 +02:00
Steven E. Harris
e8d80729ac Merge pull request #2703 from rbwsam/ref/simplify_error
ref(pkg/chartutil): replace use of 'fmt.Efforf'
2017-07-25 10:14:32 -04:00
Sam Leavens
098df8b186 ref(pkg/chartutil): improve comment spacing
Reduce comment spacing to single tab.
2017-07-20 14:21:40 -07:00