Matthew Fisher
e73af10d0b
Merge pull request #8696 from f0rmiga/patch-1
...
fix: boilerplate template indentation
2020-10-13 11:36:26 -07: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
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
Liu Ming
317616482c
Remove duplicate variable definition
...
Variable values `helm.sh/resource-policy` and `keep` are duplicately
defined in resource_policy.go (`resourcePolicyAnno` `keepPolicy`) and
resource_policy.go (`ResourcePolicyAnno` `KeepPolicy`), remove the
varibales in resource_policy.go to keep the code clean.
Signed-off-by: Liu Ming <hit_oak_tree@126.com>
2020-09-02 10:30:41 +08:00
Matt Butcher
04fb35814f
Fixed a variable name collision caused by two PR merges ( #8681 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
2020-09-01 11:51:40 -06:00
Matt Butcher
70d03e5cef
Fix/8467 linter failing ( #8496 )
...
* add output to get debug info on linter failing
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
* trap cases where the YAML indent is incorrect.
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
2020-09-01 10:45:59 -06:00
Matt Butcher
96d9ab9663
fix name length check on lint ( #8543 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
2020-09-01 10:44:52 -06:00
Zhou Hao
0669f40e81
cleanup tempfiles for load_test
...
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
2020-08-28 13:38:29 +08:00
Matt Farina
3fc88f2492
Fixing failing CI for windows
...
A fix introduced in #8631 caused a bug in Windows builds due to
a type difference between POSIX and Windows environments. This
change corrects that problem and provides a code comment to warn
others.
Signed-off-by: Matt Farina <matt@mattfarina.com>
2020-08-21 11:51:58 -04:00
Matthew Fisher
0a28e5cbff
Merge pull request #8631 from mrueg/sem-fixes
...
pkg/*: Small linting fixes
2020-08-21 08:21:22 -07:00
Matt Farina
c7b5f5f88f
Merge pull request #8627 from mattfarina/fix-6418
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
2020-08-21 09:11:39 -04:00
Manuel Rüger
4abcdc40ef
pkg/*: Small linting fixes
...
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2020-08-21 11:22:15 +02:00
Matthew Fisher
0941e3e345
Merge pull request #8613 from tariq1890/if-optimise
...
optimise if condition in service ready logic
2020-08-20 14:42:45 -07:00