Matt Farina
76157c6d06
Merge pull request #11720 from mattfarina/fix-11712
...
Fix improper use of Table request/response to k8s API
2 years ago
Cenk Alti
442d594570
Check status code before retrying request
...
Signed-off-by: Cenk Alti <cenkalti@gmail.com>
2 years ago
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>
2 years ago
Matt Farina
6facbada26
bump version to v3.11.0
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
(cherry picked from commit 9d8fee155b
)
2 years ago
Matt Farina
6487d43965
Merge pull request #11672 from VaibhavSharma-47/feature
...
[CMD/PKG] Adopted resource not replaced when using upgrade --install --force
2 years ago
Matt Farina
774c6ce703
Merge pull request #11439 from phoenixsqf/main
...
use intstr.GetScaledValueFromIntOrPercent instead of the deprecated
2 years ago
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
2 years ago
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>
2 years ago
Jakub Warczarek
3d81ea22ac
Fix after CR
...
Signed-off-by: Jakub Warczarek <jakub.warczarek@gmail.com>
2 years ago
Jakub Warczarek
553f1e34f5
Add test for User-Agent header setting and refactor
...
Signed-off-by: Jakub Warczarek <jakub.warczarek@gmail.com>
2 years ago
Jakub Warczarek
2fa7b3d1b7
Fix User-Agent header in requests made by Helm
...
Signed-off-by: Jakub Warczarek <jakub.warczarek@gmail.com>
2 years ago
Matt Farina
71ef5f477b
Merge pull request #11524 from sap-contributions/harmonize-url-reference-resolving
...
harmonize URL reference resolving
2 years ago
Matt Farina
6d2b10832e
Merge pull request #11616 from zalsader/add-docs-cli-values
...
docs: add docs for cli/values.Options
2 years ago
Vaibhav Sharma
3181c7ddad
fix adopted resource not replaced
...
Signed-off-by: Vaibhav Sharma <17532va@gmail.com>
2 years ago
Matt Farina
eb7150fc61
Merge pull request #10912 from SoujanyaMangipudi/main
...
feat(helm): Supporting helm3 to show up resource names in helm status
2 years ago
Soujanya Mangipudi
6f8c1785a4
Merge remote-tracking branch 'helm-upstream/main' into somangip/MergeHelmMain1219
...
Signed-off-by: Soujanya Mangipudi <somangip@microsoft.com>
2 years ago
Matt Farina
5a8e91a010
Merge pull request #11604 from xishengcai/patch-1
...
Update chartrepo.go
2 years ago
Martin Hickey
3636f68247
Merge pull request from GHSA-6rx9-889q-vv2r
...
Update string value name handling
2 years ago
Martin Hickey
638ebffbc2
Merge pull request from GHSA-53c4-hhmh-vw5q
...
Update repo handling
2 years ago
Martin Hickey
bafafa8bb1
Merge pull request from GHSA-67fx-wx78-jx33
...
Update schema validation handling
2 years ago
Soujanya Mangipudi
038cc4a0ca
Merge branch 'main' into main
...
Signed-off-by: Soujanya Mangipudi <somangip@microsoft.com>
2 years ago
Martin Hickey
b1b0d18a83
Merge pull request #11508 from sap-contributions/improve-plugin-install-error
...
improve error message on plugin install
2 years ago
Martin Hickey
b6fef6c466
Fix backwards compatibility
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
2 years ago
Zuhair AlSader
0fdfe05844
docs: add docs for cli/values.Options
...
Signed-off-by: Zuhair AlSader <zuhair@koor.tech>
2 years ago
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>
2 years ago
Martin Hickey
a59e584684
Update string handling
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
2 years ago
Martin Hickey
256e976331
Update repo handling
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
2 years ago
Martin Hickey
3974136b6e
Merge pull request #11426 from cenkalti/leader-changed
...
Fix handling of "leader changed" errors
2 years ago
Philipp Stehle
965f8591e7
improve error message on plugin install
...
Signed-off-by: Philipp Stehle <philipp.stehle@sap.com>
2 years ago
Philipp Stehle
dfb25e13de
harmonize URL reference resolving
...
Fixes https://github.com/helm/helm/issues/11472
Signed-off-by: Philipp Stehle <philipp.stehle@sap.com>
2 years ago
Matt Farina
9a5eb70320
Merge pull request #11442 from catandcoder/main
...
fix a few function names on comments
2 years ago
Andrew Block
269dd247d0
Merge pull request #11300 from porridge/better-logging
...
During deletion, explicitly log already deleted resource.
2 years ago
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>
2 years ago
Martin Hickey
775af2a0ce
Update schema validation handling
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
2 years ago
cui fliter
09d3f31358
fix a few function names on comments
...
Signed-off-by: cui fliter <imcusg@gmail.com>
2 years ago
Qifan Shen
9d59d92abb
use intstr.GetScaledValueFromIntOrPercent instead of the deprecated
...
Signed-off-by: Qifan Shen <sqfphoenix@163.com>
2 years ago
Cenk Alti
b5378b3a5d
retry http request on temporary errors
...
Signed-off-by: Cenk Alti <cenkalti@gmail.com>
2 years ago
Cenk Alti
d32c623699
Revert "Tolerate temporary errors from etcdserver"
...
This reverts commit ebc79fa807
.
Signed-off-by: Cenk Alti <cenkalti@gmail.com>
2 years ago
Matt Farina
90a25751bd
Merge pull request #11172 from crenshaw-dev/cleanup-after-find-chart
...
fix: clean up temp files in FindChartInAuthAndTLSAndPassRepoURL (#11171 )
2 years ago
Matt Farina
95140c96d6
Merge pull request #11044 from wujunwei/bug-fix-nil-dependency
...
add nil judge in dependency and maintainer validation
2 years ago
Matt Farina
792450129f
Merge pull request #9824 from sathieu/fix_helm_chart_download_without_trailing_slash
...
Fix URL with encoded path support for ChartDownloader
2 years ago
Martin Hickey
2baf68fe2d
Merge pull request #11401 from dims/retry-for-issue-9502
...
Tolerate temporary errors from etcdserver
2 years ago
Matt Farina
37dd72729b
Merge pull request #11336 from mattfarina/bump-version-3.10
...
bump version to v3.10.0
2 years ago
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>
2 years ago
wujunwei
4fcec24d15
update: Optimize the error message
...
Signed-off-by: wujunwei <wjw3323@live.com>
2 years ago
wujunwei
a7a1117327
add nil judge for dependency , maintainers validate and some testcase.
...
Signed-off-by: wujunwei <wjw3323@live.com>
2 years ago
Martin Hickey
ae828ce0ee
Fix code style
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
2 years ago
Matt Farina
cd809f9b19
bump version to v3.10.0
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
(cherry picked from commit ce66412a72
)
2 years ago
Soujanya Mangipudi
ffa19a4b5d
Addressing review comments - move printing code out of client.go
...
Signed-off-by: Soujanya Mangipudi <somangip@microsoft.com>
fix circleci tests
Signed-off-by: Soujanya Mangipudi <somangip@microsoft.com>
fix formatting errors
Signed-off-by: Soujanya Mangipudi <somangip@microsoft.com>
fix tests
Signed-off-by: Soujanya Mangipudi <somangip@microsoft.com>
fix tests
Signed-off-by: Soujanya Mangipudi <somangip@microsoft.com>
fix gofmt issue
Signed-off-by: Soujanya Mangipudi <somangip@microsoft.com>
2 years ago
Soujanya Mangipudi
20e3577543
Addressing review comments:
...
Extend Interface with new InterfaceResources to avoid breaking changes
Move change to staus command behind --show-resources flag
Signed-off-by: Soujanya Mangipudi <somangip@microsoft.com>
2 years ago