Zachary Seguin
662fd4fcf6
Remove executable bits from chartutil generated files ( #4839 )
...
Signed-off-by: Zachary Seguin <zachary@zacharyseguin.ca>
6 years ago
Martin Hickey
f6efe2f0c1
Add test template example for helm create ( #4524 )
...
* Add test template example for helm create
As helm create ganerates an nginx chart, the example is based on
https://github.com/helm/helm/blob/master/docs/examples/nginx/templates/
service-test.yaml
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
* Update after review
- https://github.com/helm/helm/pull/4524#pullrequestreview-155183390
- https://github.com/helm/helm/pull/4524#pullrequestreview-155379922
- Fix where app.kubernetes.io/instance was incorrect in service selector
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
* Add doc update
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
* Update GO formatting
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
6 years ago
Adam Reese
26c88ec815
Merge pull request #4703 from adshmh/4556-fix-paths-ingress-template
...
fix paths in the ingress template and values file written by helm create
6 years ago
Adam Reese
e83a54f7a0
Merge pull request #4742 from florianrusch/patch-1
...
Add the `.vscode` folder to the `.helmignore` file
6 years ago
Rijnard van Tonder
5267c0d44a
The nil check before the range loop is redundant
...
Signed-off-by: Rijnard van Tonder <hi.teresy@gmail.com>
6 years ago
Florian Rusch
6f12ab24a5
Add the .vscode folder to the .helmignore file
...
Signed-off-by: Florian Rusch <git@florianrusch.de>
6 years ago
adshmh
2ef61fdf5c
feat(helm): use apps/v1 as deployment apiVersion ( #4725 )
...
Use 'apps/v1' as the apiVersion field for the deployment.yaml written
by the 'helm create' command, rather than the deprecated 'apps/v1beta2'.
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
6 years ago
Arash Deshmeh
1a54463bdb
fix(helm): fix paths in the ingress template and values file written by helm create
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
6 years ago
Qiang Li
4dd9047586
fix(helm): fix selector typo in service template for 'helm create' ( #4663 )
...
changed instancelease to instance in service template
closes #4661
Signed-off-by: Qiang Li <liqiang@gmail.com>
6 years ago
Martin Hickey
7306b4c28e
Fix helm create note for k8 label convention changes
...
Update to note as per changes in Issue #4335 . Otherwise cannot
retrieve the pod with the label names.
6 years ago
Matt Farina
e328d00a2f
Updating to the k8s label convention
...
Closes #4335
Signed-off-by: Matt Farina <matt@mattfarina.com>
6 years ago
Matthew Fisher
9a788b7a48
Merge pull request #4161 from mattjmcnaughton/mattjmcnaughton/fix-wrong-timestamp-helm-package
...
Fix incorrect timestamp when helm package
6 years ago
Matthew Fisher
2d77db11fa
change copyright to "Copyright The Helm Authors"
6 years ago
Matthew Fisher
99f20d82bb
Merge pull request #4093 from aidtechnology/issue_4092
...
Migrate 'template' to 'include' in 'helm create'
6 years ago
mattjmcnaughton
96a85a06ed
Fix incorrect timestamp when helm package
...
The files contained in the `tar` file from `helm package` did not have
the correct timestamp. This lack of timestamp occurred because we were
not writing any time to the tar header file.
7 years ago
Matthew Fisher
3771ef8635
Merge pull request #3984 from muehlburger/dev
...
Fix filenames in tarball created on windows
7 years ago
Johnny Bergström
43b19dccbe
Add helm template --is-upgrade
...
Useful for toggling .Release.IsInstall / .Release.IsUpgrade which
in turn may cause templates to render differently.
7 years ago
Alejandro Vicente Grabovetsky
4fbc733ade
Migrate 'template' to 'include' in 'helm create' to conform to Helm best practices
...
Signed-off-by: Alejandro Vicente Grabovetsky <sasha@aid.technology>
7 years ago
AdamDang
89c29f3ff1
Update capabilities.go
7 years ago
AdamDang
51f92b4787
Typo fix: mach->match
...
mach->match
7 years ago
Herbert Mühlburger
a1b5b69248
Refactor to be more precise
7 years ago
Matthew Fisher
f7f686f7d0
Revert "toYaml - Fix #3470 and #3410's trailing \n issues"
7 years ago
Herbert Mühlburger
dcdeefbd63
#3763 replace backslash with forward slash
7 years ago
Julien Bordellier
cf3ded91f2
Add quoting support in ingress to allow wildcard domain
7 years ago
Matthew Fisher
d502f7c8a8
Merge pull request #3950 from BarryWilliams/issue3747
...
Add comments to fix linter issues
7 years ago
BarryWilliams
718578036d
Changed whitespacing in comments
7 years ago
Matthew Fisher
f201db3fc2
Merge pull request #3692 from aleerizw/fix-sigsegv-create
...
Fixed SIGSEGV when running helm create with -p and no values.yaml file
7 years ago
Justin Scott
ad714fe704
Merge pull request #3323 from jascott1/2620_importvals_warning_fix
...
fix(helm): fix importValues warnings from disabled charts
7 years ago
Nikhil Manchanda
30f236b75c
Merge pull request #3877 from chancez/enhance_helm_template_handling
...
Update helm template -x to support children chart manifests in more cases
7 years ago
Chance Zibolski
d7e7170993
Add working template to mariner chart for use in testing subcharts
7 years ago
Matthew Fisher
6f02d9e412
Merge pull request #3837 from consideRatio/toYaml-pr
...
toYaml - Fix #3470 and #3410's trailing \n issues
7 years ago
Steffen Windoffer
8bd42d2645
remove unused servicePort from default ingress template
7 years ago
Erik Sundell
05a1f7f46c
Updated tests for PR #3837
7 years ago
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.
7 years ago
Zack Williams
1d3ae54185
Fix #3822
7 years ago
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>
7 years ago
cameronconradt
6a59683c01
Update files.go
...
Should suppress the warnings about the naming of these two functions. Added TODO
7 years ago
Ali Rizwan
99da9fb548
Fixed SIGSEGV when running helm create with -p and no values.yaml file
7 years ago
Matthew Fisher
b5af54d44c
Merge pull request #3567 from jumal/master
...
Create missing directories when saving files in chartutil.SaveDir
7 years ago
Matthew Fisher
86ae040bfa
Merge pull request #3491 from oilbeater/fix-defer-in-loop
...
defer in loop may cause resource leak
7 years ago
Jean-Philippe Courson
5b77335415
Create missing directories when saving files in chartutil.SaveDir
7 years ago
Thibaut Rousseau
a59d212512
docs: Fix FromJson comment
7 years ago
oilbeater
757db3a062
defer in loop may cause resource leak
7 years ago
Matthew Fisher
14c7be1f92
Merge pull request #3288 from bradbeam/starter
...
feat Making starter templates more versatile
7 years ago
Matt Farina
c359ea66ed
Merge pull request #3350 from mattfarina/fix/3349
...
fix(capabilities): Adding GitVersion to default set
7 years ago
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
7 years ago
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
7 years ago
Justin Scott
fbe80437a4
fix(helm): fix importValues warnings from disabled charts
...
ImportValues incorrectly processes charts that should be disabled. This
patch excludes those charts.
Closes #2620
7 years ago
Matthew Fisher
e1027fae73
refactor symWalk() into pkg/sympath ( #3199 )
...
* refactor symWalk() into pkg/sympath
* add Go copyright
* remove dead code
7 years ago
Adam Reese
a31e3b8fe1
ref(*): kubernetes v1.9 support ( #3234 )
7 years ago