Matt Farina
6cdd6114dc
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>
(cherry picked from commit 82002c3cfb
)
5 years ago
Lehel Gyuro
5257ee5821
[ #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>
(cherry picked from commit 27807e1bb5
)
5 years ago
Lehel Gyuro
5f5975d9c8
[ #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>
(cherry picked from commit 8abb44f218
)
5 years ago
Nandor Kracser
32689d04fc
lint: lint all documents in a multi-doc yaml file
...
Signed-off-by: Nandor Kracser <bonifaido@gmail.com>
(cherry picked from commit dfb5a5e8cc
)
5 years ago
Christophe VILA
7d9837a858
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>
(cherry picked from commit 8a4c0bc7b1
)
5 years ago
Christophe VILA
fe23c09552
do not check YAML if nothing was parsed
...
Signed-off-by: Christophe VILA <christophe.vila@thalesgroup.com>
(cherry picked from commit f736af95eb
)
5 years ago
wawa0210
b266b571ce
Fix that the invalid version number of the helm package command will escape
...
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
(cherry picked from commit 2c19838295
)
5 years ago
Martin Hickey
cbaeaaa0c8
Update err message to use the regex pattern directly
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
(cherry picked from commit b83632e757
)
5 years ago
Martin Hickey
1f6fd5df26
Fix the lint error message for valid names
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
(cherry picked from commit 5785dd6d49
)
5 years ago
Janario Oliveira
8f4601546e
Adjusted import
...
Signed-off-by: Janario Oliveira <janario.oliveira@gmail.com>
(cherry picked from commit cf3870a57f
)
5 years ago
Janario Oliveira
f7edaa7459
Reuse kube-client
...
Signed-off-by: Janario Oliveira <janario.oliveira@gmail.com>
(cherry picked from commit 10a29d1662
)
5 years ago
Matt Farina
e1858f7835
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>
(cherry picked from commit 882db2543c
)
5 years ago
Zhengyi Lai
d0721819fb
Add test case for LoadFiles
...
Signed-off-by: Zhengyi Lai <zheng1@yunify.com>
(cherry picked from commit 9cc00eea24
)
5 years ago
Zhengyi Lai
3755f8a673
Bugfix: panic when chart contains requirements.lock
...
Signed-off-by: Zhengyi Lai <zheng1@yunify.com>
(cherry picked from commit ebf6d7e5b2
)
5 years ago
Matt Farina
7090a89efc
bump version to v3.4.0
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
5 years ago
Matt Farina
75b7aeaeeb
Merge pull request #7024 from jan25/issue-6972
...
v3: Prettify Updated time in helm list
5 years ago
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>
5 years ago
Matt Butcher
5f3e560029
improved user-facing error messages to explain the underlying problem ( #8731 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
5 years ago
Martin Hickey
8667aa4f98
Merge pull request #8874 from consideRatio/pr/helm-create-template-indentation
...
helm create: make generated YAML indentation more consistent
5 years ago
Matthew Fisher
e73af10d0b
Merge pull request #8696 from f0rmiga/patch-1
...
fix: boilerplate template indentation
5 years ago
Erik Sundell
1d9767fea2
helm create: make generated YAML indentation more consistent
...
Signed-off-by: Erik Sundell <erik@sundellopensource.se>
5 years ago
Matt Farina
6297c021cb
Merge pull request #8795 from mattfarina/feat-8767
...
Adding annotation to index.yaml file
5 years ago
Mikuláš Dítě
6aa54eacc5
feat(install): add requested version to error
...
Signed-off-by: Mikuláš Dítě <dite@mangoweb.cz>
5 years ago
Matt Farina
593fec6868
Merge pull request #8807 from mattfarina/feat-8806
...
Adding support for k8s 1.19
5 years ago
zouyu
a167b3fc87
Fix wrong function's name in comment
...
Signed-off-by: zouyu <zouy.fnst@cn.fujitsu.com>
5 years ago
Matt Farina
b7c38c879a
Adding support for k8s 1.19
...
Closes #8806
Signed-off-by: Matt Farina <matt@mattfarina.com>
5 years ago
Abhilash Gnan
3ca46f3b23
remove redudant time func
...
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
5 years ago
Abhilash Gnan
c5e9732a9f
rename to time format flag
...
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
5 years ago
Abhilash Gnan
f61332f379
add time-format flag to list command
...
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
5 years ago
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>
5 years ago
Matthew Fisher
b0fdb5461f
Merge pull request #8244 from carlpett/report-findcharturl-error
...
Report what cause finding chart to fail
5 years ago
Sebastian Sdorra
467bd49bb0
support passing signing passphrase from file or stdin ( #8394 )
...
Signed-off-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
5 years ago
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>
5 years ago
Matthew Fisher
6eeec4a002
switched to stricter YAML parsing on plugin metadata files
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matt Butcher
809e2d999e
Merge pull request from GHSA-m54r-vrmv-hw33
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
5 years ago
Matt Butcher
055dd41cbe
Merge pull request from GHSA-jm56-5h66-w453
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
5 years ago
Matt Butcher
59d5b94d35
Merge pull request from GHSA-9vp5-m38w-j776
5 years ago
Matthew Fisher
aa5431ab71
Merge pull request #8751 from technosophos/fix/helm-create-overwrite
...
fixed bug that caused helm create to not overwrite modified files
5 years ago
Matthew Fisher
2a74204508
go fmt
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
84de24edc9
Merge pull request #8752 from technosophos/fix/better-http-plugin-checks
...
improve the HTTP detection for tar archives
5 years ago
Matt Farina
7953adb06c
Merge branch 'master' into fix/helm-create-overwrite
5 years ago
Matt Butcher
e2da16f514
improve the HTTP detection for tar archives
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
5 years ago
Matt Farina
b5daf5a484
Merge pull request #8753 from technosophos/fix/dependency-status
...
handle case where dependency name collisions break dependency resolution
5 years ago
Matt Farina
11f75e420c
Merge pull request #8750 from technosophos/fix/helm-create-name
...
validate the name passed in during helm create
5 years ago
Matt Butcher
40b7800287
handle case where dependency name collisions break dependency resolution
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
5 years ago
Matt Butcher
106f1fb45c
fixed bug that caused helm create to not overwrite modified files
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
5 years ago
Matt Butcher
ed5fba5142
refactor the release name validation to be consistent across Helm
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
5 years ago
Thulio Ferraz Assis
b4bb73d8ce
fix: if not .Values.autoscaling.enabled indent
...
Signed-off-by: Thulio Ferraz Assis <thulio.assis@suse.com>
5 years ago
Matt Butcher
c4ef82be13
validate the name passed in during helm create
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
5 years ago
Matthew Fisher
55fbd985dd
Merge pull request #8707 from zhijianli88/cleanup-tempfiles
...
Cleanup tempfiles
5 years ago