Commit graph

23 commits

Author SHA1 Message Date
Mathieu Parent
d9e5bbc09d Fix URL with encoded path support for ChartDownloader
Signed-off-by: Mathieu Parent <math.parent@gmail.com>
2022-04-29 05:18:43 +02:00
jayonlau
55bb6c307a lean up extra spaces
Although these errors are not important, they affect the code specification.

Signed-off-by: jayonlau <jayonlau@gmail.com>
2021-12-23 22:00:24 -05:00
jayonlau
fc5473f762 Clean up extra spaces
Clean up extra spaces, although these errors are not important, they affect the code specification.

Signed-off-by: jayonlau <jayonlau@gmail.com>
2021-07-13 17:28:14 +08:00
yxxhero
f735a240b6 fix helm dep build/update doesn't inherit --insecure-skip-tls-verify from helm repo add
Signed-off-by: yxxhero <aiopsclub@163.com>
2021-03-14 23:23:25 +08:00
Adam Reese
657ce552cb
fix(*): Validate metadata semver and printable characters
ref: https://github.com/helm/helm/security/advisories/GHSA-c38g-469g-cmgx

* Skip invalid chart versions when reading the repository index file or
  when programmatically adding a chart version.
* Adds semver validation and strips non-printable characters and
  normalizes spaces for string fields in Metadata.Validate()
* Fixes a unit test that was pulling a remote repo.  Now uses a local
  repo.
* Fixes ignored error in repo update command

Signed-off-by: Adam Reese <adam@reese.io>
2021-02-04 12:52:24 -08: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
Andreas Stenius
e3f49085cc
chart_downloader: add test to verify that http opts are used correctly. (#7055)
Signed-off-by: Andreas Stenius <andreas.stenius@svenskaspel.se>
2019-11-25 14:03:27 +01:00
Hang Park
9e9999b671
fix(pkg/downloader): Add failing tests for #6416 and bugs due to #5874
This commit includes failing tests for a bug reported by #6416 and
several bugs due to #5874. `helm dependency build` command fails if one
of subcharts has optional dependency fields (e.g. Alias / Condition /
Tags) or SemVer ranges.

Signed-off-by: Hang Park <hangpark@kaist.ac.kr>
2019-10-22 11:38:57 +09:00
Martin Hickey
f2aa97e313
fix(helm): Port accept dependency in requirements.yaml from charts directory (#6611)
* Port #6578 to Helm 3

Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>

* Update after reviw

Review comments:
- https://github.com/helm/helm/pull/6611#discussion_r332745703

Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
2019-10-09 16:35:55 +01:00
Adam Reese
1779ad5302
ref(cmd/helm): remove init command
Signed-off-by: Adam Reese <adam@reese.io>
2019-08-26 10:21:52 -07:00
Matthew Fisher
c728611e5a
feat(cli): support XDG base directory specification
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2019-08-02 13:15:03 -07:00
Matthew Fisher
4f6d002d6c
chore(docs): move docs to helm-www
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2019-07-22 12:15:35 -07:00
Matt Farina
af7eab0325
Updating to the k8s label convention
Closes #4335

Signed-off-by: Matt Farina <matt@mattfarina.com>
2019-05-07 11:26:31 -04:00
Adam Reese
e458a67f0c
ref(pkg/chart): add validation method to chart
Consolidate validation of Chart.yaml.

Signed-off-by: Adam Reese <adam@reese.io>
2019-04-05 13:40:06 -07:00
Adam Reese
895e9192d4
feat(*): use vanity import helm.sh/helm
Signed-off-by: Adam Reese <adam@reese.io>
2019-03-13 13:43:47 -07:00
Adam Reese
28d8c7b277
ref(*): remove references to chart 'engine'
Signed-off-by: Adam Reese <adam@reese.io>
2019-02-04 16:08:14 -08:00
roc
79f88dfc5e ref(url) update helm's github url (#4962)
https://github.com/kubernetes/helm -> https://github.com/helm/helm
https://github.com/kubernetes/charts -> https://github.com/helm/charts

Signed-off-by: Roc Chan <roc@imroc.io>
2018-11-28 10:08:38 -08:00
Adam Reese
3b0ba0f71e
ref(tests): remove broken symlinks in testdata
Signed-off-by: Adam Reese <adam@reese.io>
2018-10-18 10:35:15 -07:00
Adam Reese
aa859e3f88
feat(*): remove Time, Namespace, and Revision from template functions
Removes Time, Namespace, and Revision from being exposed to templates to
make template rendering discrete and repeatable.
2018-05-18 12:09:54 -07:00
Christian Jauvin
8775f632f2 Fix for relative chart path support in index.yaml 2017-10-30 10:35:12 -04:00
Michal Cwienczek
dad8c6f644 Fix #2937 - helm always appends /index.yaml at the end of URL (#2988)
* Closes #2937
Added required dependency to run make test in developer's guide

* Fixed base URL appending when chart address is not absolute

* Removed requirement from developers.md

* Fixed unnecessary line breaks

* Added tests for query string repo

* Returning URL along with error
2017-10-06 08:59:11 -06:00
Matt Butcher
4c6a7cf759
fix(helm): prepend repo URL to packages missing scheme
When a repository is generated without --url, the packages in that
repository do not have FQDNs. In this case, the URL prefix (FQDN plus
base path) should be derived from the repository's base URL. This seems
to be a regression that crept in around Helm 2.2.0. This is now fixed.

Closes #2315
Closes #2510
2017-05-26 17:55:11 -06:00
Gergo Huszty
17c9e220b0 Fixes #1898: Proposal: move downloader and resolver package to /pkg 2017-02-10 10:33:02 +00:00