海的澜色
750b870aed
fix stack overflow error ( #7114 )
...
* fixed #7111
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
* update error message
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
* add test case
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
* fix lint error
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
5 years ago
Marc Khouzam
f504708b9c
Merge branch 'master' into fix/sortEnv
5 years ago
Matthew Fisher
22e00bebdf
Merge pull request #7098 from glb/add-archive-unit-tests
...
test(pkg): add unit tests for tar file edge cases
5 years ago
Geoff Baskwill
b8605c8d36
test(pkg): add unit tests for tar file edge cases
...
Adding unit tests for an issue that has come up multiple times
where the archive processing code doesn't take into account the
`tar.TypeXHeader` / `tar.TypeXGlobalHeader` entries that GitHub
adds when creating a release archive for a chart, for example
`https://github.com/org/repo/master.tar.gz `.
Signed-off-by: Geoff Baskwill <me@geoffbaskwill.ca>
5 years ago
Remco Haszing
af59e32654
docs(install): clarify the --replace flag ( #7089 )
...
* docs(install): clarify the --replace flag
The description of the `--replace` flag was unclear, as it can’t be
used to replace active releases.
Signed-off-by: Remco Haszing <remcohaszing@gmail.com>
* docs(install): reword replace flag description
Signed-off-by: Remco Haszing <remcohaszing@gmail.com>
5 years ago
Matthew Fisher
8f87900860
Merge pull request #7085 from msfuko/carry-over-ignore-pax-global-header
...
fix(pkg): ignore pax header files in chart validation
5 years ago
chloel
48704034a9
fix: ignore pax header files in chart validation
...
Signed-off-by: chloel <chloeleeq@gmail.com>
5 years ago
Marc Khouzam
32b4e2e5e9
fix(plugin): Avoid crash on missing flag
...
When calling a plugin, if a global flag requiring a parameter was
missing the parameter, helm would crash.
For example:
helm 2to3 --namespace<ENTER>
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 years ago
Matthew Fisher
456eb7f411
Merge pull request #6946 from bacongobbler/fix-6939
...
fix(install): log the error when recording the release
5 years ago
Matthew Fisher
b0934d6df8
Merge pull request #6914 from bacongobbler/remove-serverconfig
...
ref(tlsutil): remove ServerConfig
5 years ago
Matt Farina
c932c5405f
Merge pull request #6997 from jmymy/update-brew-package-name-in-readme
...
Update README - homebrew renamed formula to just helm from kubernetes-helm
5 years ago
Matt Farina
be133b05c9
Merge pull request #6947 from flynnduism/readme-docs
...
fix(reame): update links to docs
5 years ago
Matt Farina
95b2e788e7
Merge pull request #6919 from VilledeMontreal/fix/listReturnError
...
v3: helm list no longer reporting cluster not reachable
5 years ago
Matt Farina
59dbf5debd
Merge pull request #6959 from dastrobu/chart-requires-kubeVersion
...
fix: change error message to contain correct field name
5 years ago
Matt Farina
1e237eac2b
Merge pull request #7065 from VilledeMontreal/fix/equalNamespacePlugin
...
v3: -n= flag is mistakenly being passed to plugins
5 years ago
Andreas Stenius
4c4328398e
chart_downloader: fix lint issue.
...
Signed-off-by: Andreas Stenius <andreas.stenius@svenskaspel.se>
5 years ago
Andreas Stenius
0f0aa6b432
chart_downloader: avoid overriding TLS options from command flags when not setup in repo config.
...
Signed-off-by: Andreas Stenius <andreas.stenius@svenskaspel.se>
5 years ago
Andreas Stenius
d3ad6f9c78
cli/pull: pass TLS config to chart downloader from flags. ( #7055 )
...
Signed-off-by: Andreas Stenius <andreas.stenius@svenskaspel.se>
5 years ago
Andreas Stenius
d6c13616fa
chart_downloader: add TLS client config to options from repo config. ( #7055 )
...
Signed-off-by: Andreas Stenius <andreas.stenius@svenskaspel.se>
5 years ago
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>
5 years ago
Marc Khouzam
5179f8d698
fix(plugin): Avoid duplication of flag list
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 years ago
Marc Khouzam
6473234f43
fix(plugin): Add missing -n known flag
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 years ago
Scott Morgan
32ce016054
fix(lint): Remove requirement that directory name and chart name match
...
Signed-off-by: Scott Morgan <morgandev@gmail.com>
5 years ago
Scott Morgan
eb833ccead
remove unused variable
...
Signed-off-by: Scott Morgan <morgandev@gmail.com>
5 years ago
Scott Morgan
8a8463e08d
fix(lint): Remove requirement that directory name and chart name match
...
Signed-off-by: Scott Morgan <morgandev@gmail.com>
5 years ago
Jonathan Meyers
f65ce9167e
Signed-off-by: Jonathan Meyers <jonathan@cybrary.it>
5 years ago
Jonathan Meyers
27c1ea63c7
Signed-off-by: Jonathan Meyers <jonathan@cybrary.it>
5 years ago
Jonathan Meyers
44f72c4c0a
homebrew renamed formula to just helm from kubernetes-helm
...
Signed-off-by: Jonathan Meyers <jonathan@cybrary.it>
5 years ago
Dean Coakley
d2ab24c7bf
Add s390x build target
...
Signed-off-by: Dean Coakley <dean.s.coakley@gmail.com>
5 years ago
Daniel Strobusch
8889625af6
fix: change error message to contain correct field name
...
When reporting an incompatible Kubernetes version, due to a version constraint from the kubeVersion field, the error message should report with the correct field name.
Signed-off-by: Daniel Strobusch <1847260+dastrobu@users.noreply.github.com>
5 years ago
Matthew Fisher
84de17e7e5
Merge pull request #6953 from bacongobbler/fix-get-script-take-2
...
fix(get): hard code DESIRED_VERSION when unset
5 years ago
Matthew Fisher
c9da1eaae7
fix(get-helm-3): remove tiller checks, fixup version check
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
3e77ca22c7
fix(get): hard code DESIRED_VERSION when unset
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Taylor Thomas
d8a32d6ddb
Merge pull request #6952 from thomastaylor312/fix/crd_wait
...
fix(wait): Adds support for waiting on v1 apiextensions for CRDs
5 years ago
Taylor Thomas
ecb55c1de7
fix(wait): Adds support for waiting on v1 apiextensions for CRDs
...
This was a missed update when we updated the k8s libraries. I validated
that this works for CRD installs with v1beta1 and v1
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
5 years ago
Matthew Fisher
301d428e53
Merge pull request #6949 from bacongobbler/get-script-hack
...
fix(get): install Helm v2.16.1
5 years ago
Matthew Fisher
06a5eb2272
fix(get): install Helm v2.16.1
...
This is a temporary fix. This prevents the get script from installing Helm 3 as soon as it's released, potentially causing disruption to users that were expecting a Helm 2 release.
A `get-helm-3` script is also supplied, which is identical to the previous `get` script. That way, Helm 3 users also have an equivalent way to install Helm 3.
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
flynnduism
a9b178758c
fix(reame): update links to docs
...
Signed-off-by: flynnduism <flynnduism@gmail.com>
5 years ago
Matthew Fisher
e91feed1a3
fix(install): log the error when recording the release
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
eba3ee01df
Merge pull request #6925 from sayboras/feature/update-golang-ci
...
Used timeout instead of deadline
5 years ago
Matthew Fisher
9be2445da5
Merge pull request #6943 from hangpark/fix/resolve-repo-alias-before-build
...
fix(pkg/downloader): Resolve repo alias before checking digests on build
5 years ago
Hang Park
0987c6f7b9
fix(pkg/downloader): resolve repo alias before checking digests on build
...
`Update()` gets repo names before resolving a lock file by calling
`resolveRepoNames(req)`. But that method changes aliased repo URLs into
the actual URLs. That makes digests from `helm update` and `helm build`
be different for each other.
To make them in sync, setting actual (resolved) repo URLs into the
loaded chart during `helm build` is necessary. Thus, this commit adds an
extra step in the `Build()` implementation.
For comments, this commit also changes the name of `getRepoNames()` into
`resolveRepoNames()` to avoid misunderstanding since getters are
expected to not mutate their input data in general.
Signed-off-by: Hang Park <hangpark@kaist.ac.kr>
5 years ago
Matthew Fisher
946aa19d28
Merge pull request #6941 from bacongobbler/fix-6940
...
fix(strvals): port #3912 , #4142 , #4682 , and #5151 to Helm 3
5 years ago
Hang Park
17553db485
fix(pkg/downloader): add failing test for build with repo alias
...
Signed-off-by: Hang Park <hangpark@kaist.ac.kr>
5 years ago
Matthew Fisher
b30467c2e5
fix(strvals): port #3912 , #4142 , #4682 , and #5151 to Helm 3
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
e44ffd3a1a
Merge pull request #6942 from bacongobbler/pin-golangci-lint
...
fix(ci): pin golangci-lint to v1.21.0
5 years ago
Matthew Fisher
4d1c11f05b
fix(ci): pin golangci-lint to v1.21.0
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
d795543071
Merge pull request #6913 from bacongobbler/fix-6635-ca-file
...
fix(tlsutil): accept only a CA certificate for validation
5 years ago
sayboras
693bce93a0
Used timeout instead of deadline
...
Signed-off-by: sayboras <sayboras@yahoo.com>
5 years ago
Marc Khouzam
30e8ed2f3d
fix(cli): helm list was ignoring some errors
...
If the cluster is not reachable, helm list would not report that error.
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 years ago