Commit graph

1977 commits

Author SHA1 Message Date
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
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
Matt Butcher
809e2d999e
Merge pull request from GHSA-m54r-vrmv-hw33
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
2020-09-17 12:35:10 -06:00
Matt Butcher
055dd41cbe
Merge pull request from GHSA-jm56-5h66-w453
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
2020-09-17 12:33:59 -06:00
Matt Butcher
59d5b94d35
Merge pull request from GHSA-9vp5-m38w-j776 2020-09-17 12:31:23 -06:00
Matthew Fisher
aa5431ab71
Merge pull request #8751 from technosophos/fix/helm-create-overwrite
fixed bug that caused helm create to not overwrite modified files
2020-09-17 11:12:21 -07:00
Matthew Fisher
2a74204508
go fmt
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2020-09-17 11:09:37 -07:00
Matthew Fisher
84de24edc9
Merge pull request #8752 from technosophos/fix/better-http-plugin-checks
improve the HTTP detection for tar archives
2020-09-17 11:02:52 -07:00
Matt Farina
7953adb06c
Merge branch 'master' into fix/helm-create-overwrite 2020-09-17 13:56:39 -04:00
Matt Butcher
e2da16f514
improve the HTTP detection for tar archives
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
2020-09-17 11:54:07 -06:00
Matt Farina
b5daf5a484
Merge pull request #8753 from technosophos/fix/dependency-status
handle case where dependency name collisions break dependency resolution
2020-09-17 13:53:01 -04:00
Matt Farina
11f75e420c
Merge pull request #8750 from technosophos/fix/helm-create-name
validate the name passed in during helm create
2020-09-17 13:51:05 -04:00
Matt Butcher
40b7800287
handle case where dependency name collisions break dependency resolution
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
2020-09-17 11:44:50 -06:00
Matt Butcher
106f1fb45c
fixed bug that caused helm create to not overwrite modified files
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
2020-09-17 11:35:46 -06:00
Matt Butcher
ed5fba5142
refactor the release name validation to be consistent across Helm
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
2020-09-17 11:34:31 -06:00
Thulio Ferraz Assis
b4bb73d8ce
fix: if not .Values.autoscaling.enabled indent
Signed-off-by: Thulio Ferraz Assis <thulio.assis@suse.com>
2020-09-16 20:42:05 -05:00
Matt Butcher
c4ef82be13
validate the name passed in during helm create
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
2020-09-16 16:35:43 -06:00
Matthew Fisher
55fbd985dd
Merge pull request #8707 from zhijianli88/cleanup-tempfiles
Cleanup tempfiles
2020-09-15 12:50:02 -07:00
Matthew Fisher
dafeb1541b
Merge pull request #8493 from yxxhero/fix-insecure-skip-tls-verify-flag-not-work-on-helm-install
fix insecure-skip-tls-verify flag does't work on helm install
2020-09-14 17:47:27 -07:00
Paul Brousseau
3192408415 Fixing typo in engine comments
Signed-off-by: Paul Brousseau <object88@gmail.com>
2020-09-13 21:31:38 -07:00
Li Zhijian
4258e8664e Use T.cleanup() to cleanup cmdtest_temp file
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
2020-09-11 10:33:44 +08:00
Li Zhijian
d9ad9153c8 Use RemoveAll to remove a non-empty directory
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
2020-09-11 10:33:44 +08:00
Li Zhijian
cccc2867ea mark NewTempServer as Deprecated
Please use NewTempServerWithCleanup instead

Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
2020-09-11 10:33:44 +08:00
Li Zhijian
35c5268d9d Use T.Cleanup() to cleanup temp dir helm-repotest
For backward compatibility, as suggested by @bacongobbler, we introduce
a new API NewTempServerWithCleanup

Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
2020-09-11 10:33:41 +08:00
leigh capili
9429af8b39 Support impersonation via flags similar to kubectl --as="user"
Signed-off-by: leigh capili <leigh@null.net>
2020-09-09 14:49:01 -06:00
Li Zhijian
ba4c8029c2 Use T.cleanup() to cleanup helm-action-test
T.Cleanup() is introduced since go-1.14

Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
2020-09-09 14:40:44 +08:00
Thulio Ferraz Assis
6766017d38
fix: with .Values.podAnnotations indent template
Signed-off-by: Thulio Ferraz Assis <thulio.assis@suse.com>
2020-09-03 13:48:56 -05:00
Martin Hickey
daa104d60e Revert PR 8562
Revert of PR 8562 as the container version may not represent the
application version.

Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
2020-09-03 17:13:31 +00:00
Matt Farina
e454e6a910
Merge pull request #8682 from liuming-dev/remove-duplicate-variable-definition
Remove duplicate variable definition
2020-09-03 11:19:07 -04:00
Martin Hickey
2a9ef6d3b0
Merge pull request #8529 from lingsamuel/status-show-desc
feat: add flag `--show-desc` to display description for `helm status`
2020-09-03 15:14:10 +01:00
Ling Samuel
da6878dc0f
feat: status command display description
Signed-off-by: Ling Samuel <lingsamuelgrace@gmail.com>
2020-09-02 11:38:45 +08:00