Commit graph

2007 commits

Author SHA1 Message Date
Scaat Feng
14f6bde04a [FIX]error string should not be capitalized
Signed-off-by: Scaat Feng <scaat.feng@gmail.com>
2020-11-26 14:01:20 +08:00
Scaat Feng
0de89685d4 [COMMENT]fix comment
Signed-off-by: Scaat Feng <scaat.feng@gmail.com>
2020-11-26 13:47:14 +08:00
Scaat Feng
b6bd8d7363 [FIX]'rest' collides with imported package name
Signed-off-by: Scaat Feng <scaat.feng@gmail.com>
2020-11-26 13:45:13 +08:00
Scaat Feng
5c14eec3a3 [FIX]receiver names are different
Signed-off-by: Scaat Feng <scaat.feng@gmail.com>
2020-11-26 13:43:23 +08:00
Jon Huhn
5d08a0d00e Fix typo
Signed-off-by: Jon Huhn <huhnjon@gmail.com>
2020-11-24 13:49:45 -06:00
Matt Farina
1cd749359c
Merge pull request #9009 from mattfarina/tests-for-8948
Tests for 8948
2020-11-10 14:32:47 -05:00
Matt Farina
a374fffdd9
Merge pull request #8948 from gy-lehel/#7696
Signed-off-by: Matt Farina <matt@mattfarina.com>
2020-11-10 14:32:26 -05:00
Matt Farina
82002c3cfb Added tests for PR 8948
LoadFiles needs to load the Chart.yaml file first. When later files
are loaded there are checks for metadata. If that is not loaded
the checks could be handled incorrectly.

Signed-off-by: Matt Farina <matt@mattfarina.com>
2020-11-10 11:57:02 -05:00
Martin Hickey
0ba4fcba87
Merge pull request #8862 from banzaicloud/linter-multiple-documents
lint: lint all documents in a multi-doc yaml file
2020-11-06 15:14:34 +00:00
Martin Hickey
6696a9fa5f
Merge pull request #8970 from zerefwayne/patch-8965
Add remaining tests in TestDependentChartAliases
2020-11-06 13:15:55 +00:00
Nandor Kracser
dfb5a5e8cc
lint: lint all documents in a multi-doc yaml file
Signed-off-by: Nandor Kracser <bonifaido@gmail.com>
2020-11-06 14:14:19 +01:00
Martin Hickey
6ca989e777
Merge pull request #8913 from cvila84/fork-lint-bug
do not check YAML if nothing was parsed
2020-11-06 12:45:31 +00:00
Marc Khouzam
e16d26717b fix(helm): flag descriptions start with lowercase
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
2020-11-05 18:52:40 -05:00
Martin Hickey
9c97dc8fa2
Merge pull request #8933 from wawa0210/fix-helm-package-escape-invalid-version
Fix  invalid semver version number of the helm package command will escape
2020-11-05 15:09:08 +00:00
Aayush Joglekar
babc8c9a70 Add remaining tests in TestDependentChartAliases
Signed-off-by: Aayush Joglekar <aayushjog@gmail.com>
2020-11-03 01:50:59 +05:30
Martin Hickey
9aa0fbee6c
Merge pull request #8879 from hickeyma/fix/incorrect-lint-msg
fix(lint): Lint error message for valid names
2020-11-02 12:27:21 +00:00
wawa0210
2c19838295
Fix that the invalid version number of the helm package command will escape
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
2020-10-31 17:10:03 +08:00
Matt Farina
43b0ef5f20
Merge pull request #8855 from janario/fix/reusabe-kube-client
Signed-off-by: Matt Farina <matt@mattfarina.com>
2020-10-29 10:18:41 -04:00
Matt Farina
af2d3021f4
Merge pull request #8952 from mattfarina/fix-8940
Signed-off-by: Matt Farina <matt@mattfarina.com>
2020-10-29 10:10:33 -04:00
Matt Farina
c0d3877231
Merge pull request #8915 from zheng1/master
Bugfix: panic when chart contains requirements.lock
2020-10-29 10:09:43 -04:00
Zhengyi Lai
9cc00eea24
Add test case for LoadFiles
Signed-off-by: Zhengyi Lai <zheng1@yunify.com>
2020-10-29 15:11:32 +08:00
Matt Farina
882db2543c Fixes Error: could not find protocol handler for
A previous update to automate finding charts in repos when update
was run did not take into account the case for no repo being
specified. This fixes that situation.

Closes #8940

Signed-off-by: Matt Farina <matt@mattfarina.com>
2020-10-28 10:40:12 -04:00
Lehel Gyuro
27807e1bb5 [#7696] Avoid crash in chart loader on unexpected file sequence
Make sure, that chart metadata is initialized by the time the processing
of the chart is started.

Signed-off-by: Lehel Gyuro <lehel@freemail.hu>
2020-10-28 08:02:55 +01:00
Christophe VILA
8a4c0bc7b1 added test for https://github.com/helm/helm/pull/8913 related to https://github.com/helm/helm/issues/8621
Signed-off-by: Christophe VILA <christophe.vila@thalesgroup.com>
2020-10-27 23:06:01 +01:00
Lehel Gyuro
8abb44f218 [#7696] Avoid crash in chart loader on unexpected file sequence
Make sure, that chart metadata is initialized by the time the processing
of the chart is started.

Signed-off-by: Lehel Gyuro <lehel@freemail.hu>
2020-10-27 22:29:54 +01:00
Martin Hickey
b83632e757 Update err message to use the regex pattern directly
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
2020-10-22 11:26:39 +00:00
Martin Hickey
5785dd6d49 Fix the lint error message for valid names
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
2020-10-22 11:14:46 +00:00
Christophe VILA
f736af95eb do not check YAML if nothing was parsed
Signed-off-by: Christophe VILA <christophe.vila@thalesgroup.com>
2020-10-22 00:15:37 +02:00
Matt Farina
ce4fa95868 bump version to v3.4.0
Signed-off-by: Matt Farina <matt@mattfarina.com>
(cherry picked from commit 7090a89efc)
2020-10-19 17:35:25 -04:00
Matt Farina
75b7aeaeeb
Merge pull request #7024 from jan25/issue-6972
v3: Prettify Updated time in helm list
2020-10-19 16:49:43 -04:00
Matt Butcher
fe2d7f7792
this rewrites a whole bunch of old repo URLs to the new repo URL (#8902)
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
2020-10-19 14:38:32 -06:00
Matt Butcher
5f3e560029
improved user-facing error messages to explain the underlying problem (#8731)
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
2020-10-19 12:15:53 -06:00
Martin Hickey
8667aa4f98
Merge pull request #8874 from consideRatio/pr/helm-create-template-indentation
helm create: make generated YAML indentation more consistent
2020-10-13 20:04:39 +01:00
Matthew Fisher
e73af10d0b
Merge pull request #8696 from f0rmiga/patch-1
fix: boilerplate template indentation
2020-10-13 11:36:26 -07:00
Erik Sundell
1d9767fea2 helm create: make generated YAML indentation more consistent
Signed-off-by: Erik Sundell <erik@sundellopensource.se>
2020-10-12 15:45:27 +02:00
Janario Oliveira
cf3870a57f Adjusted import
Signed-off-by: Janario Oliveira <janario.oliveira@gmail.com>
2020-10-06 22:38:26 +02:00
Janario Oliveira
10a29d1662 Reuse kube-client
Signed-off-by: Janario Oliveira <janario.oliveira@gmail.com>
2020-10-06 22:33:29 +02:00
Matt Farina
6297c021cb
Merge pull request #8795 from mattfarina/feat-8767
Adding annotation to index.yaml file
2020-10-01 09:53:15 -04:00
Mikuláš Dítě
6aa54eacc5 feat(install): add requested version to error
Signed-off-by: Mikuláš Dítě <dite@mangoweb.cz>
2020-09-28 21:47:48 -04:00
Matt Farina
593fec6868
Merge pull request #8807 from mattfarina/feat-8806
Adding support for k8s 1.19
2020-09-28 09:08:55 -04:00
zouyu
a167b3fc87 Fix wrong function's name in comment
Signed-off-by: zouyu <zouy.fnst@cn.fujitsu.com>
2020-09-27 14:47:51 +08:00
Matt Farina
b7c38c879a Adding support for k8s 1.19
Closes #8806

Signed-off-by: Matt Farina <matt@mattfarina.com>
2020-09-25 12:15:06 -04:00
Abhilash Gnan
3ca46f3b23 remove redudant time func
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
2020-09-23 23:32:56 +02:00
Abhilash Gnan
c5e9732a9f rename to time format flag
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
2020-09-23 22:32:06 +02:00
Abhilash Gnan
f61332f379 add time-format flag to list command
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
2020-09-23 22:32:05 +02:00
Matt Farina
4c121c3085 Adding annotation to index.yaml file
Chart.yaml files have an annotation field that allow a chart to
have custom information similar to the way Kubernetes annotations
work.

In an index.yaml file each chart version can have annotations in
a similar manner to the Chart.yaml file. It is derived from the
same underlying struct.

These enable extension points where people can add their own info.

One thing missing is the ability to extend the top level of an
index file. This change adds annotations to the top level of an
index.yaml file. This would provide top level support for vendors
to extent index.yaml files.

Closes #8767

Signed-off-by: Matt Farina <matt@mattfarina.com>
2020-09-23 14:00:19 -04:00
Matthew Fisher
b0fdb5461f
Merge pull request #8244 from carlpett/report-findcharturl-error
Report what cause finding chart to fail
2020-09-23 09:00:17 -07:00
Sebastian Sdorra
467bd49bb0
support passing signing passphrase from file or stdin (#8394)
Signed-off-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2020-09-18 16:23:40 -06:00
Matthew Fisher
f19acbdc94
fix: allow serverInfo field on index files
A recent change merged into Helm fixes a number of security issues related to parsing malformed index files. Unfortunately, it also broke the ability for users to load index files from chartmuseum, which adds a "server info" field to add additional metadata.

This commit adds that field so that index files from chartmuseum can be validated. Since Helm does not use this field for anything, the information is discarded and unused.

Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2020-09-17 15:00:28 -07:00
Matthew Fisher
6eeec4a002
switched to stricter YAML parsing on plugin metadata files
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2020-09-17 11:38:28 -07:00