Commit graph

2339 commits

Author SHA1 Message Date
Martin Hickey
bafafa8bb1
Merge pull request from GHSA-67fx-wx78-jx33
Update schema validation handling
2022-12-14 13:54:39 +00:00
Martin Hickey
b1b0d18a83
Merge pull request #11508 from sap-contributions/improve-plugin-install-error
improve error message on plugin install
2022-12-09 12:30:51 +00:00
Martin Hickey
3974136b6e
Merge pull request #11426 from cenkalti/leader-changed
Fix handling of "leader changed" errors
2022-11-16 15:57:09 +00:00
Philipp Stehle
965f8591e7 improve error message on plugin install
Signed-off-by: Philipp Stehle <philipp.stehle@sap.com>
2022-11-09 10:41:55 +01:00
Matt Farina
9a5eb70320
Merge pull request #11442 from catandcoder/main
fix a few function names on comments
2022-11-08 15:53:50 -05:00
Andrew Block
269dd247d0
Merge pull request #11300 from porridge/better-logging
During deletion, explicitly log already deleted resource.
2022-11-01 01:00:57 -05:00
Peter Leong
9d027eaac8
Readiness & liveness probes correct port
Port number now comes from values.yaml

Signed-off-by: Peter Leong <1179301+p33t@users.noreply.github.com>
2022-10-21 12:52:30 -07:00
Martin Hickey
775af2a0ce Update schema validation handling
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
2022-10-21 18:04:05 +01:00
cui fliter
09d3f31358 fix a few function names on comments
Signed-off-by: cui fliter <imcusg@gmail.com>
2022-10-17 20:41:59 +08:00
Cenk Alti
b5378b3a5d retry http request on temporary errors
Signed-off-by: Cenk Alti <cenkalti@gmail.com>
2022-10-11 19:54:10 -04:00
Cenk Alti
d32c623699 Revert "Tolerate temporary errors from etcdserver"
This reverts commit ebc79fa807.

Signed-off-by: Cenk Alti <cenkalti@gmail.com>
2022-10-11 19:53:14 -04:00
Matt Farina
90a25751bd
Merge pull request #11172 from crenshaw-dev/cleanup-after-find-chart
fix: clean up temp files in FindChartInAuthAndTLSAndPassRepoURL (#11171)
2022-10-11 13:58:46 -04:00
Matt Farina
95140c96d6
Merge pull request #11044 from wujunwei/bug-fix-nil-dependency
add nil judge in  dependency and maintainer validation
2022-10-05 10:44:47 -04:00
Matt Farina
792450129f
Merge pull request #9824 from sathieu/fix_helm_chart_download_without_trailing_slash
Fix URL with encoded path support for ChartDownloader
2022-10-05 10:41:17 -04:00
Martin Hickey
2baf68fe2d
Merge pull request #11401 from dims/retry-for-issue-9502
Tolerate temporary errors from etcdserver
2022-10-05 12:19:26 +01:00
Matt Farina
37dd72729b
Merge pull request #11336 from mattfarina/bump-version-3.10
bump version to v3.10.0
2022-10-03 09:32:13 -04:00
Davanum Srinivas
ebc79fa807
Tolerate temporary errors from etcdserver
There are cases when the etcdserver is temporarily unavailable and the
errors that we get back from kube-apiserver reflect that error. It looks
like we bail out immediately when these errors happen currently. We
should retry until timeout is reached when this sort of errors happen.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-10-01 20:12:38 -04:00
wujunwei
4fcec24d15 update: Optimize the error message
Signed-off-by: wujunwei <wjw3323@live.com>
2022-09-24 12:56:03 +08:00
wujunwei
a7a1117327 add nil judge for dependency , maintainers validate and some testcase.
Signed-off-by: wujunwei <wjw3323@live.com>
2022-09-24 12:56:03 +08:00
Martin Hickey
ae828ce0ee Fix code style
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
2022-09-21 16:35:29 +01:00
Matt Farina
cd809f9b19
bump version to v3.10.0
Signed-off-by: Matt Farina <matt.farina@suse.com>
(cherry picked from commit ce66412a72)
2022-09-12 15:29:41 -04:00
CI
c1bf99c0eb Merge remote-tracking branch 'origin/main' into cleanup-after-find-chart 2022-09-06 08:32:06 -04:00
Marcin Owsiany
b7c35d2a0f During deletion, explicitly log already deleted resource name.
Unfortunately errors from the API server do not always (do they ever?) contain
the name of the resource in question.

Deletions for multiple resources are processed concurrently, so in a resulting
log, a preceding "Starting delete" line might be for a different object.

Signed-off-by: Marcin Owsiany <porridge@redhat.com>
2022-09-06 12:29:01 +02:00
Martin Hickey
8199db309a
Merge pull request #10693 from lucadirocco/feat/--set-json
feat: add --set-json flag to set json values.
2022-08-31 21:40:19 +01:00
Matt Farina
225f8d7732 Updating index handling
Signed-off-by: Matt Farina <matt@mattfarina.com>
2022-08-17 13:42:28 -04:00
Martin Hickey
f08db5c899
Merge pull request #10834 from stan-sz/stan-sz/10285
Log error message on failed download
2022-08-12 09:57:16 +01:00
Martin Hickey
1d15ad7ea4
Merge pull request #10506 from suzaku/support-no-headers
Add support for`helm list --no-headers`
2022-08-12 09:55:31 +01:00
Martin Hickey
4cd966fdb5
Merge pull request #11214 from d-d-up/fix_special_string
fix special string in the filename
2022-08-11 09:51:38 +01:00
Matt Farina
4b18b19a5e
Merge pull request #11143 from aep/for-upstream
fixes #11142 missing array length check on release
2022-08-09 14:12:52 -04:00
d-d-up
ece46c1d3a fix special string in the filename
Signed-off-by: d-d-up <qhr6113@163.com>
2022-08-09 14:12:26 +08:00
CI
3b19ddeb56 one defer
Signed-off-by: CI <ci@argoproj.com>
2022-08-05 10:02:18 -04:00
CI
781ddba690 don't change r.CachePath
Signed-off-by: CI <ci@argoproj.com>
2022-07-29 16:12:16 -04:00
Matt Farina
b3aa0b4118
Fixing x509 test on darwin
Go passes x509 verification off to the platform and different
platforms provide different responses. The Go tests for x509
even have different test files for different platform providers
that check for different messages.

This update haldes darwins difference for x509 authority handling

Closes #11159

Signed-off-by: Matt Farina <matt@mattfarina.com>
2022-07-27 12:48:52 -04:00
CI
cd76fcd805 avoid adding new public function
Signed-off-by: CI <ci@argoproj.com>
2022-07-22 12:58:54 -04:00
CI
32a41fcfac fix tests
Signed-off-by: CI <ci@argoproj.com>
2022-07-21 12:42:56 -04:00
CI
24fa3d910d fix: clean up temp files in FindChartInAuthAndTLSAndPassRepoURL (#11171)
Signed-off-by: CI <ci@argoproj.com>
2022-07-21 12:29:14 -04:00
Arvid E. Picciani
b9f347a574 fixes #11142 missing array length check on release
Signed-off-by: Arvid E. Picciani <arvid@kraud.cloud>
2022-07-13 11:26:04 +02:00
Matthew Fisher
aa6e82bac8
fix: use go install instead of go get
Signed-off-by: Matthew Fisher <matt.fisher@fermyon.com>
2022-07-06 13:34:15 -07:00
yxxhero
39b0a82365 bump Go 1.18
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-07-03 10:19:15 +08:00
Dominic Evans
7c74f1dd02 fix: improve logging & safety of statefulSetReady
Confirm that the current and updated revision numbers also match as part
of the readiness check. Add coverage for readiness scenarios where
StatefulSet status does not reflect the most recent generation of the
StatefulSet yet.

Also add additional logging around the sts transitions from non-ready to
ready.

Fixes: #10163

Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
2022-06-28 09:48:17 +01:00
Soule BA
42a04c76a4
make token caching an opt in feature
If implemented, users have to opt in to cache a token.

Signed-off-by: Soule BA <bah.soule@gmail.com>
2022-06-27 14:23:25 +02:00
Justen Walker
687852e4fe feat(*): add flags/env for kube api tls overrides
Add a new flags and associated environment variables to override
 the TLS Settings used when constructing the Kube Client.

- `--kube-insecure-skip-tls-verify | HELM_KUBEINSECURE_SKIP_TLS_VERIFY`: if true, the kube api server's certificate will not be checked for validity. This will make your HTTPS connections insecure
- `--kube-tls-server-name | HELM_KUBETLS_SERVER_NAME`: server name to use for kube api server certificate validation. If it is not provided, the hostname used to contact the server is used

Signed-off-by: Justen Walker <justen.walker+github@gmail.com>
2022-05-19 23:32:00 -04:00
Igor Sutton
823d929421
Add --burst-limit option for client-side throttling limit configuration (#10842)
* feat: add configuration for client-side throttling limit

Client-side throttling seems to be an issue in larger environments such as OpenShift clusters, where
it is common to have several hundreds CRDs out-of-the-box.

From this view point, it is fair that clients should be able to fine tune this accordingly should the
environment they work on evolves, which is currently not possible, and quite frustrating.

This change introduces the --default-burst-limit option to helm (and its counterpart
HELM_DEFAULT_BURST_LIMIT environment variable) to address that issue, allowing clients to properly
tune their client usage as their environment evolves.

Signed-off-by: Igor Sutton <isuttonl@redhat.com>

* chore: change DefaultBurstLimit to BurstLimit

Signed-off-by: Igor Sutton <isuttonl@redhat.com>

* chore: add HELM_BURST_LIMIT to golden file

Signed-off-by: Igor Sutton <isuttonl@redhat.com>

* chore: add burst limit tests

Signed-off-by: Igor Sutton <isuttonl@redhat.com>

* docs: add burst limit default value to documentation

Signed-off-by: Igor Sutton <isuttonl@redhat.com>

* refactor: change burst limit default value to 100 per review instructions

Signed-off-by: Igor Sutton <isuttonl@redhat.com>
2022-05-17 20:00:57 +02:00
Matthew Fisher
2ae4937e42
Merge pull request #10762 from yxxhero/fix_registry_config_issue
fix --registry-config issue
2022-05-13 10:08:04 -07:00
Matthew Fisher
e54e24cc90
Merge pull request #10852 from IamMayankThakur/main
Fixed helm uninstall not deleting the resource.
2022-05-13 10:05:52 -07:00
Matt Farina
1db28a2311
bump version to v3.9.0
Signed-off-by: Matt Farina <matt.farina@suse.com>
(cherry picked from commit 7ceeda6c58)
2022-05-09 15:20:33 -04:00
Matt Farina
2cd709c4a6
Merge pull request #10106 from presztak/lint_quiet_flag
feat(*): add --quiet flag to 'helm lint'
2022-05-06 16:30:38 -04:00
Andrew Seigner
bd7c97f786 Bump k8s packages from 0.23.6 to 0.24.0
This required modifying the `kube.Factory` interface to conform to
changes in k8s' `cmdutil.Factory` interface:
fe3772890f

Signed-off-by: Andrew Seigner <andrew@sig.gy>
2022-05-04 10:58:09 +00:00
Martin Hickey
8d3f9a475d
Merge pull request #10767 from marquiz/fixes/unit-test
repo: fix repo merge unit test
2022-05-04 10:06:03 +01:00
Martin Hickey
c477d697ec
Merge pull request #10458 from SimonAlling/remove-AssertGoldenBytes
Remove AssertGoldenBytes test helper
2022-04-29 09:37:23 +01:00