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
Matthew Fisher
9ed2a28ede
ref(tlsutil): remove ServerConfig
...
dead code from Tiller days
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
aa6104e442
fix(tlsutil): accept only a CA certificate for validation
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matt Butcher
865c46c014
fix: stop discovery errors from halting chart rendering. ( #6908 )
...
This blocks a particular error (caused by upstream discovery client),
printing a warning instead of failing. It's not a great solution, but is
a stop-gap until Client-Go gets fixed.
Closes #6361
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
5 years ago
Marc Brugger
8231b17c31
print gvk information on existing resource conflict
...
Signed-off-by: Marc Brugger <github@bakito.ch>
5 years ago
Marc Khouzam
3e09e2fa28
fix(cli): Sort output of helm env
...
Before this change, running 'helm env' multiple times would generate
a different order for the output each time. This is because Go
purposely loops over hash maps in a random order.
This commit sorts the environment variables by alphabetical order before
generating the output.
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 years ago
Matthew Fisher
43acbfe86d
Merge pull request #6841 from bacongobbler/fix-6354
...
fix(show): restore comments from raw values
5 years ago
Matthew Fisher
bd1f4a443e
fix(show): restore comments from raw values
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago