Commit graph

2371 commits

Author SHA1 Message Date
cpanato
006bc0f39d
update k8s registry domain
Signed-off-by: cpanato <ctadeu@gmail.com>
2023-02-17 09:50:04 +01:00
Matt Farina
863bc74e5a
Update to func handling
Signed-off-by: Matt Farina <matt@mattfarina.com>
2023-02-03 15:36:32 -05:00
Matt Farina
76157c6d06
Merge pull request #11720 from mattfarina/fix-11712
Fix improper use of Table request/response to k8s API
2023-01-13 11:57:35 -05:00
Cenk Alti
442d594570 Check status code before retrying request
Signed-off-by: Cenk Alti <cenkalti@gmail.com>
2023-01-12 21:03:45 -05:00
Matt Farina
36e18fa6e1
Fix improper use of Table request/response to k8s API
Fixes #11712

A change was made that when validation was turned off the Kubernetes
packages were building objects as a Table type. This was done for
display purposes. When details about the objects was going to be
printed as part of #10912.

This broke rollback, and possibly other functionality, as a Table
type was returned in some cases that needed the regular object.
This caused things to break silently.

The fix involved adding in a new Function (and interface) to
query for tables instead of the objects themselves. There was not
a clean way to add it to the existing function that covered all
cases.

A second problem was noticed along the way. When data was output
via status as YAML or JSON it was in the form of a table rather
than the objects themselves. This did not reflect expectations
and did not match the functionality in kubectl. The code was
updated to return a table when that was presented and the objects
when they are being output for YAML or JSON. The API also supports
this handling to SDK users can replicate this functionality.

API changes made here were never released. The functions were
developed for this release of Helm and only ever appeared in an
RC. In this case, they can be changed.

Signed-off-by: Matt Farina <matt.farina@suse.com>
2023-01-12 08:38:10 -05:00
Matt Farina
6facbada26
bump version to v3.11.0
Signed-off-by: Matt Farina <matt.farina@suse.com>
(cherry picked from commit 9d8fee155b)
2023-01-09 21:23:22 -05:00
Matt Farina
6487d43965
Merge pull request #11672 from VaibhavSharma-47/feature
[CMD/PKG] Adopted resource not replaced when using upgrade --install --force
2023-01-09 20:48:08 -05:00
Matt Farina
774c6ce703
Merge pull request #11439 from phoenixsqf/main
use intstr.GetScaledValueFromIntOrPercent instead of the deprecated
2023-01-09 18:08:40 -05:00
Martin Hickey
1819f1f616
Merge pull request #11628 from dastrobu/Linting_error_on_null_in_dependencies_is_misleading_#11627
change linting error messages for null values in arrays
2023-01-06 09:46:48 +00:00
Daniel Strobusch
6a5f240e9a
change linting error messages for null values in arrays
Closes #11627

Signed-off-by: Daniel Strobusch <1847260+dastrobu@users.noreply.github.com>
2023-01-05 18:28:14 +01:00
Jakub Warczarek
3d81ea22ac Fix after CR
Signed-off-by: Jakub Warczarek <jakub.warczarek@gmail.com>
2023-01-03 23:35:19 +01:00
Jakub Warczarek
553f1e34f5 Add test for User-Agent header setting and refactor
Signed-off-by: Jakub Warczarek <jakub.warczarek@gmail.com>
2023-01-03 23:13:11 +01:00
Jakub Warczarek
2fa7b3d1b7 Fix User-Agent header in requests made by Helm
Signed-off-by: Jakub Warczarek <jakub.warczarek@gmail.com>
2023-01-03 23:13:11 +01:00
Matt Farina
71ef5f477b
Merge pull request #11524 from sap-contributions/harmonize-url-reference-resolving
harmonize URL reference resolving
2023-01-03 09:02:12 -05:00
Matt Farina
6d2b10832e
Merge pull request #11616 from zalsader/add-docs-cli-values
docs: add docs for cli/values.Options
2023-01-03 09:01:24 -05:00
Vaibhav Sharma
3181c7ddad fix adopted resource not replaced
Signed-off-by: Vaibhav Sharma <17532va@gmail.com>
2022-12-24 00:19:06 +05:30
Matt Farina
eb7150fc61
Merge pull request #10912 from SoujanyaMangipudi/main
feat(helm): Supporting helm3 to show up resource names in helm status
2022-12-23 11:00:59 -05:00
Soujanya Mangipudi
6f8c1785a4 Merge remote-tracking branch 'helm-upstream/main' into somangip/MergeHelmMain1219
Signed-off-by: Soujanya Mangipudi <somangip@microsoft.com>
2022-12-19 15:22:52 -08:00
Matt Farina
5a8e91a010
Merge pull request #11604 from xishengcai/patch-1
Update chartrepo.go
2022-12-19 17:34:50 -05:00
Martin Hickey
3636f68247
Merge pull request from GHSA-6rx9-889q-vv2r
Update string value name handling
2022-12-14 13:56:49 +00:00
Martin Hickey
638ebffbc2
Merge pull request from GHSA-53c4-hhmh-vw5q
Update repo handling
2022-12-14 13:55:41 +00:00
Martin Hickey
bafafa8bb1
Merge pull request from GHSA-67fx-wx78-jx33
Update schema validation handling
2022-12-14 13:54:39 +00:00
Soujanya Mangipudi
038cc4a0ca
Merge branch 'main' into main
Signed-off-by: Soujanya Mangipudi <somangip@microsoft.com>
2022-12-12 10:48:20 -08: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
b6fef6c466 Fix backwards compatibility
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
2022-12-08 16:00:45 +00:00
Zuhair AlSader
0fdfe05844
docs: add docs for cli/values.Options
Signed-off-by: Zuhair AlSader <zuhair@koor.tech>
2022-12-08 01:45:40 -05:00
caixisheng
c8890e971e
Update chartrepo.go
## case :
1. charmuseum is http
2. nginx https ---> chartmuseum
3. domain, CN is IP

## result:  
 error: failed to prepare chart for release: chart unavailable: looks like "https://120.55.54.50" is not a valid chart repository or cannot be reached: Get "https://120.55.54.50/index.yaml": x509: certificate relies on legacy Common Name field, use SANs instead



Signed-off-by: caixisheng <cc710917049@163.com>
2022-12-05 23:04:16 +08:00
Martin Hickey
a59e584684 Update string handling
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
2022-11-25 18:16:43 +00:00
Martin Hickey
256e976331 Update repo handling
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
2022-11-22 15:22:10 +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
Philipp Stehle
dfb25e13de harmonize URL reference resolving
Fixes https://github.com/helm/helm/issues/11472

Signed-off-by: Philipp Stehle <philipp.stehle@sap.com>
2022-11-09 10:26:45 +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
Qifan Shen
9d59d92abb use intstr.GetScaledValueFromIntOrPercent instead of the deprecated
Signed-off-by: Qifan Shen <sqfphoenix@163.com>
2022-10-13 16:58:24 +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